1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fixed bug mdev-4318.

In some cases, when using views the optimizer incorrectly determined
possible join orders for queries with nested outer and inner joins.
This could lead to invalid execution plans for such queries.
This commit is contained in:
Igor Babaev
2013-03-22 21:33:06 -07:00
parent 1be4295617
commit 21dad7ec30
3 changed files with 498 additions and 4 deletions

View File

@@ -12580,9 +12580,6 @@ simplify_joins(JOIN *join, List<TABLE_LIST> *join_list, COND *conds, bool top,
table->prep_on_expr= table->on_expr= 0;
}
}
if (!top)
continue;
/*
Only inner tables of non-convertible outer joins