fix auto-create table problem

This commit is contained in:
Hongze Cheng 2022-05-07 03:28:15 +00:00
parent 4ff72806cf
commit fdd901ae5d
1 changed files with 7 additions and 0 deletions

View File

@ -533,6 +533,13 @@ static int vnodeProcessSubmitReq(SVnode *pVnode, int64_t version, void *pReq, in
}
}
msgIter.uid = createTbReq.uid;
if (createTbReq.type == TSDB_CHILD_TABLE) {
msgIter.suid = createTbReq.ctb.suid;
} else {
msgIter.suid = 0;
}
tCoderClear(&coder);
}