fix(stream): allowed null value for input
This commit is contained in:
parent
ebc21a1b0f
commit
dac9a5ae9b
|
@ -169,7 +169,8 @@ static void* tupleGetField(char* t, uint32_t colIdx, uint32_t colNum) {
|
||||||
|
|
||||||
int32_t tsortGetSortedDataBlock(const SSortHandle* pSortHandle, SSDataBlock** pBlock) {
|
int32_t tsortGetSortedDataBlock(const SSortHandle* pSortHandle, SSDataBlock** pBlock) {
|
||||||
if (pBlock == NULL) {
|
if (pBlock == NULL) {
|
||||||
return TSDB_CODE_INVALID_PARA;
|
*pBlock = NULL;
|
||||||
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
*pBlock = createOneDataBlock(pSortHandle->pDataBlock, false);
|
*pBlock = createOneDataBlock(pSortHandle->pDataBlock, false);
|
||||||
|
|
Loading…
Reference in New Issue