projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2b1f3
)
Properly initialize variable.
author
Robert Haas
<rhaas@postgresql.org>
Tue, 7 Mar 2017 18:49:53 +0000
(13:49 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Tue, 7 Mar 2017 18:50:52 +0000
(13:50 -0500)
Commit
3bc7dafa9bebbdaa1bbf0da0798d29a8bdaf6a8f
forgot to do this.
Noted while experimenting with valgrind.
src/backend/optimizer/path/joinpath.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/optimizer/path/joinpath.c
b/src/backend/optimizer/path/joinpath.c
index 11f02dd8da8c4ba8e32110eebb3a5e55f12c01e9..de7044de256f8e30aaaaaeef323fdf90f88a1c1b 100644
(file)
--- a/
src/backend/optimizer/path/joinpath.c
+++ b/
src/backend/optimizer/path/joinpath.c
@@
-756,7
+756,7
@@
sort_inner_and_outer(PlannerInfo *root,
JoinType save_jointype = jointype;
Path *outer_path;
Path *inner_path;
- Path *cheapest_partial_outer;
+ Path *cheapest_partial_outer
= NULL
;
Path *cheapest_safe_inner = NULL;
List *all_pathkeys;
ListCell *l;