Merge pull request #788 from taosdata/feature/lihui

Feature/lihui
This commit is contained in:
slguan 2019-11-27 19:21:45 +08:00 committed by GitHub
commit b964a595b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -476,6 +476,8 @@ int mgmtRetrieveVnodes(SShowObj *pShow, char *data, int rows, SConnObj *pConn) {
continue; continue;
} }
cols = 0;
pWrite = data + pShow->offset[cols] * rows + pShow->bytes[cols] * numOfRows; pWrite = data + pShow->offset[cols] * rows + pShow->bytes[cols] * numOfRows;
*(uint32_t *)pWrite = pVnode->vnode; *(uint32_t *)pWrite = pVnode->vnode;
cols++; cols++;