fix(query): set the correct rows in data block.
This commit is contained in:
parent
4853522e11
commit
59c72beb8d
|
@ -966,7 +966,9 @@ static int32_t mndRetrieveSubscribe(SRpcMsg *pReq, SShowObj *pShow, SSDataBlock
|
|||
|
||||
while (numOfRows < rowsCapacity) {
|
||||
pShow->pIter = sdbFetch(pSdb, SDB_SUBSCRIBE, pShow->pIter, (void **)&pSub);
|
||||
if (pShow->pIter == NULL) break;
|
||||
if (pShow->pIter == NULL) {
|
||||
break;
|
||||
}
|
||||
|
||||
taosRLockLatch(&pSub->lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue