Merge pull request #27327 from taosdata/fix/TD-31559
fix: return code check issue
This commit is contained in:
commit
fd43fe08ed
|
@ -320,7 +320,7 @@ static int32_t buildMergeJoinOperatorParam(SOperatorParam** ppRes, bool initPara
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
(*ppRes)->pChildren = taosArrayInit(2, POINTER_BYTES);
|
(*ppRes)->pChildren = taosArrayInit(2, POINTER_BYTES);
|
||||||
if (NULL == *ppRes) {
|
if (NULL == (*ppRes)->pChildren) {
|
||||||
code = terrno;
|
code = terrno;
|
||||||
freeOperatorParam(pChild0, OP_GET_PARAM);
|
freeOperatorParam(pChild0, OP_GET_PARAM);
|
||||||
freeOperatorParam(pChild1, OP_GET_PARAM);
|
freeOperatorParam(pChild1, OP_GET_PARAM);
|
||||||
|
|
Loading…
Reference in New Issue