projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc2769
)
Remove useless variable stores
author
Alvaro Herrera
<
[email protected]
>
Tue, 15 Dec 2020 22:51:16 +0000
(19:51 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Tue, 15 Dec 2020 22:51:16 +0000
(19:51 -0300)
Mistakenly introduced in
4cbe3ac3e867
; bug repaired in
148e632c0541
but
the stores were accidentally.
src/backend/executor/nodeModifyTable.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/nodeModifyTable.c
b/src/backend/executor/nodeModifyTable.c
index e0f24283b80d1926c19acca2245f8bfafeea41c9..ab3d655e603b741963eab9619232465c2297bc40 100644
(file)
--- a/
src/backend/executor/nodeModifyTable.c
+++ b/
src/backend/executor/nodeModifyTable.c
@@
-2368,7
+2368,6
@@
ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
* Initialize any WITH CHECK OPTION constraints if needed.
*/
resultRelInfo = mtstate->resultRelInfo;
- i = 0;
foreach(l, node->withCheckOptionLists)
{
List *wcoList = (List *) lfirst(l);
@@
-2387,7
+2386,6
@@
ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
resultRelInfo->ri_WithCheckOptions = wcoList;
resultRelInfo->ri_WithCheckOptionExprs = wcoExprs;
resultRelInfo++;
- i++;
}
/*