chore: more code

This commit is contained in:
kailixu 2023-03-17 16:53:28 +08:00
parent 5f2ced466b
commit 0c4e9f6646
1 changed files with 1 additions and 2 deletions

View File

@ -324,8 +324,7 @@ static int32_t mndProcessRetrieveSysTableReq(SRpcMsg *pReq) {
pReq->info.rsp = pRsp;
pReq->info.rspLen = size;
// if (rowsRead == 0 || ((rowsRead < rowsToRead) && !pShow->resume)) {
if (rowsRead == 0 || rowsRead < rowsToRead) {
if (rowsRead == 0 || ((rowsRead < rowsToRead) && !pShow->resume)) {
pRsp->completed = 1;
mDebug("show:0x%" PRIx64 ", retrieve completed", pShow->id);
mndReleaseShowObj(pShow, true);