Merge pull request #2922 from taosdata/hotfix/fixbug-TD-1039

[TD-1039]
This commit is contained in:
Shengliang Guan 2020-08-04 22:37:16 +08:00 committed by GitHub
commit 792e087088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1999,7 +1999,8 @@ int tscProcessUseDbRsp(SSqlObj *pSql) {
return 0;
}
int tscProcessDropDbRsp(SSqlObj *UNUSED_PARAM(pSql)) {
int tscProcessDropDbRsp(SSqlObj *pSql) {
pSql->pTscObj->db[0] = 0;
taosCacheEmpty(tscCacheHandle);
return 0;
}