From 6489482064d151b8b1dd8f9e286941a7f059b5ea Mon Sep 17 00:00:00 2001 From: lihui Date: Wed, 27 Nov 2019 19:19:45 +0800 Subject: [PATCH] [TBASE-898] --- src/system/detail/src/mgmtDnode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/detail/src/mgmtDnode.c b/src/system/detail/src/mgmtDnode.c index 7b0bc22daf..86550b46e7 100644 --- a/src/system/detail/src/mgmtDnode.c +++ b/src/system/detail/src/mgmtDnode.c @@ -476,6 +476,8 @@ int mgmtRetrieveVnodes(SShowObj *pShow, char *data, int rows, SConnObj *pConn) { continue; } + cols = 0; + pWrite = data + pShow->offset[cols] * rows + pShow->bytes[cols] * numOfRows; *(uint32_t *)pWrite = pVnode->vnode; cols++;