1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
The bug prevented acceptance of UNION queries whose non-first select 
clauses contained join expressions with degenerated single-table nests
as valid queries.
The bug was introduced into mysql-5.5 code line by the patch for
bug 33204.
This commit is contained in:
Igor Babaev
2012-06-08 22:15:49 -07:00
parent ca5473f1db
commit 10f42e2c33
5 changed files with 43 additions and 1 deletions

View File

@ -6192,6 +6192,7 @@ TABLE_LIST *st_select_lex::end_nested_join(THD *thd)
embedded->embedding= embedding;
join_list->push_front(embedded);
ptr= embedded;
embedded->lifted= 1;
}
else if (nested_join->join_list.elements == 0)
{