Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025b2f3
)
Assert that create_unique_path returns non-NULL.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 28 Jan 2016 03:03:18 +0000
(22:03 -0500)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 28 Jan 2016 03:03:18 +0000
(22:03 -0500)
Per off-list discussion with Tom Lane and Michael Paquier, Coverity
gets unhappy if this is not done.
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 e61fa589a8ab17a48d976165ead72edc3236f775..3b898dafee1e3d63912e2b4f0ab27e2f9a0d6e68 100644
(file)
--- a/
src/backend/optimizer/path/joinpath.c
+++ b/
src/backend/optimizer/path/joinpath.c
@@
-1259,6
+1259,7
@@
consider_parallel_nestloop(PlannerInfo *root,
continue;
innerpath = (Path *) create_unique_path(root, innerrel,
innerpath, extra->sjinfo);
+ Assert(innerpath);
}
try_partial_nestloop_path(root, joinrel, outerpath, innerpath,