- Notifications
You must be signed in to change notification settings - Fork28
Commitd7e4fd9
committed
Fix bug introduced into indexable_outerrelids() by an ill-considered
"optimization". When we find a potentially useful joinclause, wehave to add all its other required_relids to the result, not only theother clause_relids. They are different in the case of a joinclausewhose applicability has to be postponed due to outer join. We haveto include the extra rels because otherwise, after best_inner_indexscanmasks the join rels with index_outer_relids, it will always fail tofind the joinclause as applicable. Per report from Husam Tomeh.1 parent8a64ec6 commitd7e4fd9
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
959 | | - | |
960 | 958 | | |
961 | 959 | | |
962 | 960 | | |
963 | 961 | | |
964 | 962 | | |
965 | 963 | | |
966 | | - | |
| 964 | + | |
967 | 965 | | |
968 | 966 | | |
969 | 967 | | |
| |||
0 commit comments
Comments
(0)