reorganize physical plan code
This commit is contained in:
parent
ec5eeea762
commit
09f36860b1
|
@ -22,7 +22,7 @@ typedef struct SScaleOutContext {
|
||||||
|
|
||||||
static SLogicSubplan* singleCloneSubLogicPlan(SScaleOutContext* pCxt, SLogicSubplan* pSrc, int32_t level) {
|
static SLogicSubplan* singleCloneSubLogicPlan(SScaleOutContext* pCxt, SLogicSubplan* pSrc, int32_t level) {
|
||||||
SLogicSubplan* pDst = nodesMakeNode(QUERY_NODE_LOGIC_SUBPLAN);
|
SLogicSubplan* pDst = nodesMakeNode(QUERY_NODE_LOGIC_SUBPLAN);
|
||||||
if (NULL == pDst->pNode) {
|
if (NULL == pDst) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
pDst->pNode = nodesCloneNode(pSrc->pNode);
|
pDst->pNode = nodesCloneNode(pSrc->pNode);
|
||||||
|
|
Loading…
Reference in New Issue