fix: restore stream code
This commit is contained in:
parent
8e8b7d1014
commit
3024e91a8d
|
@ -109,9 +109,8 @@ static int32_t doSetStreamBlock(SOperatorInfo* pOperator, void* input, size_t nu
|
||||||
|
|
||||||
SStreamScanInfo* pInfo = pOperator->info;
|
SStreamScanInfo* pInfo = pOperator->info;
|
||||||
|
|
||||||
if (pInfo->validBlockIndex != 0 || taosArrayGetSize(pInfo->pBlockLists) == 0) {
|
ASSERT(pInfo->validBlockIndex == 0);
|
||||||
return TSDB_CODE_APP_ERROR;
|
ASSERT(taosArrayGetSize(pInfo->pBlockLists) == 0);
|
||||||
}
|
|
||||||
|
|
||||||
if (type == STREAM_INPUT__MERGED_SUBMIT) {
|
if (type == STREAM_INPUT__MERGED_SUBMIT) {
|
||||||
// ASSERT(numOfBlocks > 1);
|
// ASSERT(numOfBlocks > 1);
|
||||||
|
|
|
@ -2001,6 +2001,7 @@ FETCH_NEXT_BLOCK:
|
||||||
|
|
||||||
goto NEXT_SUBMIT_BLK;
|
goto NEXT_SUBMIT_BLK;
|
||||||
} else {
|
} else {
|
||||||
|
ASSERT(0)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue