提交 29eb60aa 编写于 作者: S slguan

fix bug in resetlog statements

上级 b99bb7aa
...@@ -731,7 +731,9 @@ int tsCfgDynamicOptions(char *msg) { ...@@ -731,7 +731,9 @@ int tsCfgDynamicOptions(char *msg) {
if (strncasecmp(option, "resetlog", 8) == 0) { if (strncasecmp(option, "resetlog", 8) == 0) {
taosResetLogFile(); taosResetLogFile();
tsPrintGlobalConfig(); tsPrintGlobalConfig();
return code;
} }
if (strncasecmp(option, "resetQueryCache", 15) == 0) { if (strncasecmp(option, "resetQueryCache", 15) == 0) {
if (taosLogSqlFp) { if (taosLogSqlFp) {
pPrint("the query cache of internal client will reset"); pPrint("the query cache of internal client will reset");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册