[TD-570] lost while create vgroup
This commit is contained in:
parent
07848127b7
commit
edfb1859a1
|
@ -1581,8 +1581,11 @@ static int32_t mnodeProcessCreateChildTableMsg(SMnodeMsg *pMsg) {
|
||||||
return mnodeCreateVgroup(pMsg, pMsg->pDb);
|
return mnodeCreateVgroup(pMsg, pMsg->pDb);
|
||||||
}
|
}
|
||||||
|
|
||||||
pMsg->pVgroup = pVgroup;
|
if (pMsg->pVgroup == NULL) {
|
||||||
mnodeIncVgroupRef(pVgroup);
|
pMsg->pVgroup = pVgroup;
|
||||||
|
mnodeIncVgroupRef(pVgroup);
|
||||||
|
}
|
||||||
|
|
||||||
pMsg->pTable = (STableObj *)mnodeDoCreateChildTable(pMsg, sid);
|
pMsg->pTable = (STableObj *)mnodeDoCreateChildTable(pMsg, sid);
|
||||||
if (pMsg->pTable == NULL) {
|
if (pMsg->pTable == NULL) {
|
||||||
return terrno;
|
return terrno;
|
||||||
|
|
Loading…
Reference in New Issue