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.
This commit is contained in:
parent
025b2f3392
commit
eaf7b1f643
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user