Skip to content

Commit 506f054

Browse files
committed
Properly initialize variable.
Commit 3bc7daf forgot to do this. Noted while experimenting with valgrind.
1 parent 0d2b1f3 commit 506f054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/path/joinpath.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ sort_inner_and_outer(PlannerInfo *root,
756756
JoinType save_jointype = jointype;
757757
Path *outer_path;
758758
Path *inner_path;
759-
Path *cheapest_partial_outer;
759+
Path *cheapest_partial_outer = NULL;
760760
Path *cheapest_safe_inner = NULL;
761761
List *all_pathkeys;
762762
ListCell *l;

0 commit comments

Comments
 (0)