提交 5ce1ff42 编写于 作者: H Haojun Liao

[td-225] fix compiler error.

上级 0f68ec73
......@@ -850,7 +850,7 @@ static void doInitGlobalConfig(void) {
cfg.valType = TAOS_CFG_VTYPE_INT32;
cfg.cfgType = TSDB_CFG_CTYPE_B_CONFIG | TSDB_CFG_CTYPE_B_SHOW;
cfg.minValue = -1;
cfg.maxValue = 10000000000000; //10TB
cfg.maxValue = 10000000000000.0; //10TB
cfg.ptrLength = 0;
cfg.unitType = TAOS_CFG_UTYPE_BYTE;
taosInitConfigOption(cfg);
......
......@@ -7147,7 +7147,7 @@ static int64_t getQuerySupportBufSize(int32_t numOfTables) {
int32_t checkForQueryBuf(int32_t numOfTables) {
int64_t t = getQuerySupportBufSize(numOfTables);
if (tsQueryBufferSize < 0) {
return true;
return TSDB_CODE_SUCCESS;
} else if (tsQueryBufferSize > 0) {
while(1) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册