Skip to content

Commit eaf7b1f

Browse files
committed
Assert that create_unique_path returns non-NULL.
Per off-list discussion with Tom Lane and Michael Paquier, Coverity gets unhappy if this is not done.
1 parent 025b2f3 commit eaf7b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/optimizer/path/joinpath.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,7 @@ consider_parallel_nestloop(PlannerInfo *root,
12591259
continue;
12601260
innerpath = (Path *) create_unique_path(root, innerrel,
12611261
innerpath, extra->sjinfo);
1262+
Assert(innerpath);
12621263
}
12631264

12641265
try_partial_nestloop_path(root, joinrel, outerpath, innerpath,

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