projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932c607
)
remove unnecessary 'distribution' variable from grouping_planner()
author
Tomas Vondra
<
[email protected]
>
Tue, 10 Jan 2017 17:56:39 +0000
(18:56 +0100)
committer
Tomas Vondra
<
[email protected]
>
Tue, 10 Jan 2017 17:56:39 +0000
(18:56 +0100)
The compiler complains about this being unused, and we can pass this
in the Path anyway I believe, so get rid of it.
src/backend/optimizer/plan/planner.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/optimizer/plan/planner.c
b/src/backend/optimizer/plan/planner.c
index 4a11d5a29b781fc0caac61e73ec024e353fb6c8c..10a70035d604eb5dc0f7964782dd616ca91774e6 100644
(file)
--- a/
src/backend/optimizer/plan/planner.c
+++ b/
src/backend/optimizer/plan/planner.c
@@
-1580,9
+1580,6
@@
grouping_planner(PlannerInfo *root, bool inheritance_update,
RelOptInfo *final_rel;
ListCell *lc;
- /* distribution of the result_plan */
- Distribution *distribution = NULL;
-
/* Tweak caller-supplied tuple_fraction if have LIMIT/OFFSET */
if (parse->limitCount || parse->limitOffset)
{