fix(stream): return value.
This commit is contained in:
parent
1e96ea4b54
commit
4173144ded
|
@ -213,8 +213,10 @@ static int32_t nextTupleWithGroupId(SSortHandle* pHandle, SSortOperatorInfo* pIn
|
||||||
STupleHandle* retTuple = pInfo->pGroupIdCalc->pSavedTuple;
|
STupleHandle* retTuple = pInfo->pGroupIdCalc->pSavedTuple;
|
||||||
if (!retTuple) {
|
if (!retTuple) {
|
||||||
code = tsortNextTuple(pHandle, &retTuple);
|
code = tsortNextTuple(pHandle, &retTuple);
|
||||||
qError("failed to get next tuple, code:%s", tstrerror(code));
|
if (code) {
|
||||||
return code;
|
qError("failed to get next tuple, code:%s", tstrerror(code));
|
||||||
|
return code;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (retTuple) {
|
if (retTuple) {
|
||||||
|
|
Loading…
Reference in New Issue