commit
7785662422
|
@ -2343,10 +2343,6 @@ int32_t buildSessionResultDataBlock(SOperatorInfo* pOperator, void* pState, SSDa
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t code = pAPI->stateStore.streamStateGetByPos(pState, pPos, (void**)&pRow);
|
int32_t code = pAPI->stateStore.streamStateGetByPos(pState, pPos, (void**)&pRow);
|
||||||
if (pBlock->info.rows + pRow->numOfRows > pBlock->info.capacity) {
|
|
||||||
ASSERT(pBlock->info.rows > 0);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (code == -1) {
|
if (code == -1) {
|
||||||
// for history
|
// for history
|
||||||
|
@ -2363,6 +2359,11 @@ int32_t buildSessionResultDataBlock(SOperatorInfo* pOperator, void* pState, SSDa
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pBlock->info.rows + pRow->numOfRows > pBlock->info.capacity) {
|
||||||
|
ASSERT(pBlock->info.rows > 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
pGroupResInfo->index += 1;
|
pGroupResInfo->index += 1;
|
||||||
|
|
||||||
for (int32_t j = 0; j < numOfExprs; ++j) {
|
for (int32_t j = 0; j < numOfExprs; ++j) {
|
||||||
|
|
Loading…
Reference in New Issue