fix: reset row number when filter produces zero row
This commit is contained in:
parent
605255fd8b
commit
1a8fb96182
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue