mirror of https://github.com/citusdata/citus.git
set_deparse_plan: Reuse variable to appease Coverity ruleutils_15.c
Relevant PG commit: e70813fbc4aaca35ec012d5a426706bd54e4acabboolean_node
parent
c6acae8d4a
commit
2a72722690
|
@ -1819,7 +1819,7 @@ set_deparse_plan(deparse_namespace *dpns, Plan *plan)
|
||||||
if (IsA(plan, ModifyTable))
|
if (IsA(plan, ModifyTable))
|
||||||
{
|
{
|
||||||
if (((ModifyTable *) plan)->operation == CMD_MERGE)
|
if (((ModifyTable *) plan)->operation == CMD_MERGE)
|
||||||
dpns->inner_tlist = dpns->outer_plan->targetlist;
|
dpns->inner_tlist = dpns->outer_tlist;
|
||||||
else
|
else
|
||||||
dpns->inner_tlist = ((ModifyTable *) plan)->exclRelTlist;
|
dpns->inner_tlist = ((ModifyTable *) plan)->exclRelTlist;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue