postfix exchange operator blocking due to addref failed
This commit is contained in:
parent
6532b8a534
commit
4fd8688795
|
@ -390,11 +390,13 @@ static int32_t initExchangeOperator(SExchangePhysiNode* pExNode, SExchangeInfo*
|
|||
}
|
||||
|
||||
initLimitInfo(pExNode->node.pLimit, pExNode->node.pSlimit, &pInfo->limitInfo);
|
||||
pInfo->self = taosAddRef(exchangeObjRefPool, pInfo);
|
||||
if (pInfo->self < 0) {
|
||||
int64_t refId = taosAddRef(exchangeObjRefPool, pInfo);
|
||||
if (refId < 0) {
|
||||
int32_t code = terrno;
|
||||
qError("%s failed at line %d since %s", __func__, __LINE__, tstrerror(code));
|
||||
return code;
|
||||
} else {
|
||||
pInfo->self = refId;
|
||||
}
|
||||
|
||||
return initDataSource(numOfSources, pInfo, id);
|
||||
|
|
|
@ -758,7 +758,10 @@ SFillColInfo* createFillColInfo(SExprInfo* pExpr, int32_t numOfFillExpr, SExprIn
|
|||
|
||||
SValueNode* pv = (SValueNode*)nodesListGetNode(pValNode->pNodeList, index);
|
||||
QUERY_CHECK_NULL(pv, code, lino, _end, terrno);
|
||||
nodesValueNodeToVariant(pv, &pFillCol[i].fillVal);
|
||||
code = nodesValueNodeToVariant(pv, &pFillCol[i].fillVal);
|
||||
}
|
||||
if (TSDB_CODE_SUCCESS != code) {
|
||||
goto _end;
|
||||
}
|
||||
}
|
||||
pFillCol->numOfFillExpr = numOfFillExpr;
|
||||
|
|
Loading…
Reference in New Issue