提交 9e62b9d0 编写于 作者: H Haojun Liao

fix(stream): fix error in extract data from inputQ.

上级 ceb06635
......@@ -347,7 +347,7 @@ static int32_t extractMsgFromInputQ(SStreamTask* pTask, SStreamQueueItem** pInpu
return TSDB_CODE_SUCCESS;
}
if (pInput == NULL) {
if (*pInput == NULL) {
ASSERT((*numOfBlocks) == 0);
*pInput = qItem;
} else {
......@@ -358,7 +358,8 @@ static int32_t extractMsgFromInputQ(SStreamTask* pTask, SStreamQueueItem** pInpu
streamQueueProcessFail(pTask->inputQueue);
return TSDB_CODE_SUCCESS;
}
pInput = newRet;
*pInput = newRet;
}
*numOfBlocks += 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册