fix: reset row number when filter produces zero row

This commit is contained in:
“happyguoxy” 2022-08-18 18:30:03 +08:00
parent 605255fd8b
commit 1a8fb96182
1 changed files with 5 additions and 1 deletions

View File

@ -2220,8 +2220,12 @@ static SSDataBlock* sysTableScanUserTables(SOperatorInfo* pOperator) {
doFilterResult(pInfo);
blockDataCleanup(p);
if (pInfo->pRes->info.rows > 0)
if (pInfo->pRes->info.rows > 0) {
break;
} else {
numOfRows = 0;
continue;
}
}
}
blockDataDestroy(p);