[td-225] fix bug found by regression test.
This commit is contained in:
parent
1073ac5160
commit
551f54fc40
|
@ -921,6 +921,7 @@ int tscProcessLocalCmd(SSqlObj *pSql) {
|
||||||
pRes->code = tscProcessShowCreateDatabase(pSql);
|
pRes->code = tscProcessShowCreateDatabase(pSql);
|
||||||
} else if (pCmd->command == TSDB_SQL_RESET_CACHE) {
|
} else if (pCmd->command == TSDB_SQL_RESET_CACHE) {
|
||||||
taosHashClear(tscTableMetaMap);
|
taosHashClear(tscTableMetaMap);
|
||||||
|
taosCacheEmpty(tscVgroupListBuf);
|
||||||
pRes->code = TSDB_CODE_SUCCESS;
|
pRes->code = TSDB_CODE_SUCCESS;
|
||||||
} else if (pCmd->command == TSDB_SQL_SERV_VERSION) {
|
} else if (pCmd->command == TSDB_SQL_SERV_VERSION) {
|
||||||
pRes->code = tscProcessServerVer(pSql);
|
pRes->code = tscProcessServerVer(pSql);
|
||||||
|
|
Loading…
Reference in New Issue