fix bug in resetlog statements

This commit is contained in:
slguan 2019-08-22 18:23:42 +08:00
parent b99bb7aa3b
commit 29eb60aa11
1 changed files with 2 additions and 0 deletions

View File

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