提交 1a8fb961 编写于 作者: “happyguoxy”

fix: reset row number when filter produces zero row

上级 605255fd
...@@ -2220,8 +2220,12 @@ static SSDataBlock* sysTableScanUserTables(SOperatorInfo* pOperator) { ...@@ -2220,8 +2220,12 @@ static SSDataBlock* sysTableScanUserTables(SOperatorInfo* pOperator) {
doFilterResult(pInfo); doFilterResult(pInfo);
blockDataCleanup(p); blockDataCleanup(p);
if (pInfo->pRes->info.rows > 0) if (pInfo->pRes->info.rows > 0) {
break; break;
} else {
numOfRows = 0;
continue;
}
} }
} }
blockDataDestroy(p); blockDataDestroy(p);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册