[TD-437] fix compile error after merge develop

This commit is contained in:
Shengliang Guan 2020-05-30 10:20:26 +00:00
parent 05ad57d8d6
commit 109e09b4a3
1 changed files with 1 additions and 1 deletions

View File

@ -1442,7 +1442,7 @@ static SChildTableObj* mnodeDoCreateChildTable(SCMCreateTableMsg *pCreate, SVgOb
if (pSuperTable == NULL) {
mError("table:%s, corresponding super table:%s does not exist", pCreate->tableId, pTagData->name);
mnodeDestroyChildTable(pTable);
terrno = TSDB_CODE_INVALID_TABLE;
terrno = TSDB_CODE_INVALID_TABLE_ID;
return NULL;
}
mnodeDecTableRef(pSuperTable);