From fdd901ae5db522a6d190778d654ea00f5650e9fd Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Sat, 7 May 2022 03:28:15 +0000 Subject: [PATCH] fix auto-create table problem --- source/dnode/vnode/src/vnd/vnodeSvr.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/dnode/vnode/src/vnd/vnodeSvr.c b/source/dnode/vnode/src/vnd/vnodeSvr.c index 811c5c10e4..403c02b440 100644 --- a/source/dnode/vnode/src/vnd/vnodeSvr.c +++ b/source/dnode/vnode/src/vnd/vnodeSvr.c @@ -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); } -- GitLab