fix(query): set correct total rsp rows.

This commit is contained in:
Haojun Liao 2023-01-20 23:38:31 +08:00
parent 7803104b7e
commit a898be4f7d
1 changed files with 1 additions and 4 deletions

View File

@ -218,10 +218,7 @@ static SSDataBlock* loadRemoteData(SOperatorInfo* pOperator) {
if (status == PROJECT_RETRIEVE_CONTINUE) {
continue;
} else if (status == PROJECT_RETRIEVE_DONE) {
size_t rows = pBlock->info.rows;
pExchangeInfo->limitInfo.numOfOutputRows += rows;
if (rows == 0) {
if (pBlock->info.rows == 0) {
setOperatorCompleted(pOperator);
return NULL;
} else {