crash while show stables
This commit is contained in:
parent
2ba675ec40
commit
b7c31e9c06
|
@ -1582,7 +1582,11 @@ static int32_t mndRetrieveStb(SNodeMsg *pReq, SShowObj *pShow, char *data, int32
|
|||
cols++;
|
||||
|
||||
pWrite = data + pShow->offset[cols] * rows + pShow->bytes[cols] * numOfRows;
|
||||
STR_TO_VARSTR(pWrite, pStb->comment);
|
||||
if (pStb->commentLen != 0) {
|
||||
STR_TO_VARSTR(pWrite, pStb->comment);
|
||||
} else {
|
||||
STR_TO_VARSTR(pWrite, "");
|
||||
}
|
||||
cols++;
|
||||
|
||||
numOfRows++;
|
||||
|
|
Loading…
Reference in New Issue