fix: cache

This commit is contained in:
factosea 2024-02-26 13:52:10 +08:00
parent 8230b238fb
commit fc4caa23b5
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ int32_t qExecTaskOpt(qTaskInfo_t tinfo, SArray* pResList, uint64_t* useconds, bo
ASSERT(p->info.rows > 0 || p->info.type == STREAM_CHECKPOINT);
taosArrayPush(pResList, &p);
if (current >= rowsThreshold || current >= pRes->info.rows) {
if (current >= rowsThreshold) {
break;
}