[td-225] fix compiler error.
This commit is contained in:
parent
0f68ec7387
commit
5ce1ff42e3
|
@ -850,7 +850,7 @@ static void doInitGlobalConfig(void) {
|
||||||
cfg.valType = TAOS_CFG_VTYPE_INT32;
|
cfg.valType = TAOS_CFG_VTYPE_INT32;
|
||||||
cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW;
|
cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW;
|
||||||
cfg.minValue = -1;
|
cfg.minValue = -1;
|
||||||
cfg.maxValue = 10000000000000; //10TB
|
cfg.maxValue = 10000000000000.0; //10TB
|
||||||
cfg.ptrLength = 0;
|
cfg.ptrLength = 0;
|
||||||
cfg.unitType = TAOS_CFG_UTYPE_BYTE;
|
cfg.unitType = TAOS_CFG_UTYPE_BYTE;
|
||||||
taosInitConfigOption(cfg);
|
taosInitConfigOption(cfg);
|
||||||
|
|
|
@ -7147,7 +7147,7 @@ static int64_t getQuerySupportBufSize(int32_t numOfTables) {
|
||||||
int32_t checkForQueryBuf(int32_t numOfTables) {
|
int32_t checkForQueryBuf(int32_t numOfTables) {
|
||||||
int64_t t = getQuerySupportBufSize(numOfTables);
|
int64_t t = getQuerySupportBufSize(numOfTables);
|
||||||
if (tsQueryBufferSize < 0) {
|
if (tsQueryBufferSize < 0) {
|
||||||
return true;
|
return TSDB_CODE_SUCCESS;
|
||||||
} else if (tsQueryBufferSize > 0) {
|
} else if (tsQueryBufferSize > 0) {
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
|
|
Loading…
Reference in New Issue