-
Committer:
Sergey Petrunya
-
Date:
2011-11-01 08:36:43 UTC
-
Revision ID:
psergey@askmonty.org-20111101083643-vnl6nl5f34nlkg8i
BUG#884184: Wrong result with RIGHT JOIN + derived_merge
- Make eliminate_tables_for_list() take into account that it is not possible
to eliminate a table if it is used in the upper-side ON expressions. Example:
xxx JOIN (t1 LEFT JOIN t2 ON cond ) ON func(t2.columns)
Here it would eliminate t2 which is not possible because of use of t2.columns.