Remove useless variable stores

Mistakenly introduced in 4cbe3ac3e867; bug repaired in 148e632c0541 but
the stores were accidentally.
This commit is contained in:
Alvaro Herrera 2020-12-15 19:51:16 -03:00
parent 6bc2769832
commit a18422a3ad
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE

View File

@ -2368,7 +2368,6 @@ ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
* Initialize any WITH CHECK OPTION constraints if needed. * Initialize any WITH CHECK OPTION constraints if needed.
*/ */
resultRelInfo = mtstate->resultRelInfo; resultRelInfo = mtstate->resultRelInfo;
i = 0;
foreach(l, node->withCheckOptionLists) foreach(l, node->withCheckOptionLists)
{ {
List *wcoList = (List *) lfirst(l); List *wcoList = (List *) lfirst(l);
@ -2387,7 +2386,6 @@ ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
resultRelInfo->ri_WithCheckOptions = wcoList; resultRelInfo->ri_WithCheckOptions = wcoList;
resultRelInfo->ri_WithCheckOptionExprs = wcoExprs; resultRelInfo->ri_WithCheckOptionExprs = wcoExprs;
resultRelInfo++; resultRelInfo++;
i++;
} }
/* /*