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");