feat: subplan adds 'user' field
This commit is contained in:
parent
0701da48f4
commit
994232c7ac
|
@ -1453,7 +1453,9 @@ static SSubplan* makeSubplan(SPhysiPlanContext* pCxt, SLogicSubplan* pLogicSubpl
|
||||||
pSubplan->id = pLogicSubplan->id;
|
pSubplan->id = pLogicSubplan->id;
|
||||||
pSubplan->subplanType = pLogicSubplan->subplanType;
|
pSubplan->subplanType = pLogicSubplan->subplanType;
|
||||||
pSubplan->level = pLogicSubplan->level;
|
pSubplan->level = pLogicSubplan->level;
|
||||||
strcpy(pSubplan->user, pCxt->pPlanCxt->pUser);
|
if (NULL != pCxt->pPlanCxt->pUser) {
|
||||||
|
strcpy(pSubplan->user, pCxt->pPlanCxt->pUser);
|
||||||
|
}
|
||||||
return pSubplan;
|
return pSubplan;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue