[TD-570] wrong errocde while drop stable

This commit is contained in:
Shengliang Guan 2020-06-16 02:59:43 +00:00
parent 364c37240f
commit 99ebc7e073
2 changed files with 3 additions and 3 deletions

View File

@ -849,7 +849,7 @@ static int32_t mnodeProcessDropSuperTableMsg(SMnodeMsg *pMsg) {
};
int32_t code = sdbDeleteRow(&oper);
if (code == TSDB_CODE_MND_ACTION_IN_PROGRESS) {
if (code == TSDB_CODE_SUCCESS) {
mLPrint("stable:%s, is dropped from sdb, result:%s", pStable->info.tableId, tstrerror(code));
if (pMsg != NULL) code = TSDB_CODE_MND_ACTION_IN_PROGRESS;
}