Commit eaf7b1f6 authored by Robert Haas's avatar Robert Haas

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.
parent 025b2f33
...@@ -1259,6 +1259,7 @@ consider_parallel_nestloop(PlannerInfo *root, ...@@ -1259,6 +1259,7 @@ consider_parallel_nestloop(PlannerInfo *root,
continue; continue;
innerpath = (Path *) create_unique_path(root, innerrel, innerpath = (Path *) create_unique_path(root, innerrel,
innerpath, extra->sjinfo); innerpath, extra->sjinfo);
Assert(innerpath);
} }
try_partial_nestloop_path(root, joinrel, outerpath, innerpath, try_partial_nestloop_path(root, joinrel, outerpath, innerpath,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment