Skip to content
Snippets Groups Projects
Commit 11073bee authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

allpaths.c:find_join_paths(): compute_rel_size() shouldn't be called

for join-relations. Sizes already computed by
prune_rel_paths():compute_joinrel_size().

joinrels.c:
<                   if ( _use_right_sided_plans_ )
---
>                   if ( _use_right_sided_plans_ &&
>                               length (outer_rel->relids) > 1 )

 - r_plans are useful when outer_rel is join-relation... It
decreases the size of search space...
parent 39c73eff
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment