fix bug in resetlog statements
This commit is contained in:
parent
b99bb7aa3b
commit
29eb60aa11
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue