提交 07280132 编写于 作者: M Minglei Jin

[TS-1379]<fix>: fix show vnodes with 0 vnode

上级 76977bf3
......@@ -1252,7 +1252,10 @@ static int32_t mnodeRetrieveVnodes(SShowObj *pShow, char *data, int32_t rows, vo
char * pWrite;
int32_t cols = 0;
if (0 == rows) return 0;
if (0 == rows) {
pShow->pIter = NULL;
return 0;
}
pDnode = (SDnodeObj *)(pShow->pIter);
if (pDnode != NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册