dmchen/trans-improve-show-all-trans
This commit is contained in:
parent
50affc90f8
commit
43e7fc36d0
|
@ -2435,13 +2435,13 @@ static int32_t mndRetrieveTransDetail(SRpcMsg *pReq, SShowObj *pShow, SSDataBloc
|
||||||
if (numOfRows >= rows) break;
|
if (numOfRows >= rows) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pShow->numOfRows + numOfRows == actionNum) {
|
if (numOfRows == actionNum - pShowIter->num) {
|
||||||
sdbRelease(pSdb, pTrans);
|
sdbRelease(pSdb, pTrans);
|
||||||
pShowIter->pTrans = NULL;
|
pShowIter->pTrans = NULL;
|
||||||
} else {
|
} else {
|
||||||
pShowIter->pTrans = pTrans;
|
pShowIter->pTrans = pTrans;
|
||||||
pShowIter->stage = pTrans->stage;
|
pShowIter->stage = pTrans->stage;
|
||||||
pShowIter->num = numOfRows;
|
pShowIter->num += numOfRows;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue