From 29eb60aa11210c67461bd4c83e04a7bbdf0131fe Mon Sep 17 00:00:00 2001 From: slguan Date: Thu, 22 Aug 2019 18:23:42 +0800 Subject: [PATCH] fix bug in resetlog statements --- src/util/src/tglobalcfg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/src/tglobalcfg.c b/src/util/src/tglobalcfg.c index 481f8e5082..2a3089a539 100644 --- a/src/util/src/tglobalcfg.c +++ b/src/util/src/tglobalcfg.c @@ -731,7 +731,9 @@ int tsCfgDynamicOptions(char *msg) { if (strncasecmp(option, "resetlog", 8) == 0) { taosResetLogFile(); tsPrintGlobalConfig(); + return code; } + if (strncasecmp(option, "resetQueryCache", 15) == 0) { if (taosLogSqlFp) { pPrint("the query cache of internal client will reset"); -- GitLab