reorganize physical plan code

This commit is contained in:
Xiaoyu Wang 2022-03-23 22:48:12 -04:00
parent ec5eeea762
commit 09f36860b1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ typedef struct SScaleOutContext {
static SLogicSubplan* singleCloneSubLogicPlan(SScaleOutContext* pCxt, SLogicSubplan* pSrc, int32_t level) {
SLogicSubplan* pDst = nodesMakeNode(QUERY_NODE_LOGIC_SUBPLAN);
if (NULL == pDst->pNode) {
if (NULL == pDst) {
return NULL;
}
pDst->pNode = nodesCloneNode(pSrc->pNode);