diff --git a/src/util/src/tglobalcfg.c b/src/util/src/tglobalcfg.c index 481f8e5082ea74aa18c1c8da709ce2bf589ae14a..2a3089a539903ca06582f185bab62f1155a41142 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");