[td-225] fix bug found by regression test.

This commit is contained in:
Haojun Liao 2021-07-24 15:36:26 +08:00
parent 1073ac5160
commit 551f54fc40
1 changed files with 1 additions and 0 deletions

View File

@ -921,6 +921,7 @@ int tscProcessLocalCmd(SSqlObj *pSql) {
pRes->code = tscProcessShowCreateDatabase(pSql);
} else if (pCmd->command == TSDB_SQL_RESET_CACHE) {
taosHashClear(tscTableMetaMap);
taosCacheEmpty(tscVgroupListBuf);
pRes->code = TSDB_CODE_SUCCESS;
} else if (pCmd->command == TSDB_SQL_SERV_VERSION) {
pRes->code = tscProcessServerVer(pSql);