mirror of https://github.com/citusdata/citus.git
set_deparse_plan: Reuse variable to appease Coverity ruleutils_15.c
Relevant PG commit: e70813fbc4aaca35ec012d5a426706bd54e4acabpg_15_iso_fix
parent
233b02d8e1
commit
b2e0df4eb7
|
@ -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