From ddf6b297e9b13d81514cd4a49de9ccc075a094e0 Mon Sep 17 00:00:00 2001 From: dapan1121 <89396746@qq.com> Date: Thu, 28 Jan 2021 14:09:42 +0800 Subject: [PATCH] fix bug --- src/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/tglobal.c b/src/common/src/tglobal.c index 43b63de935..a2d02be683 100644 --- a/src/common/src/tglobal.c +++ b/src/common/src/tglobal.c @@ -1490,7 +1490,7 @@ int32_t taosCheckGlobalCfg() { tsHttpPort = tsServerPort + TSDB_PORT_HTTP; if (tsQueryBufferSize >= 0) { - tsQueryBufferSizeBytes = tsQueryBufferSize * 1048576; + tsQueryBufferSizeBytes = tsQueryBufferSize * 1048576UL; } taosPrintGlobalCfg();