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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy