mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Fixed LP bug #1010729.
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:
parent
ca5473f1db
commit
10f42e2c33
5 changed files with 43 additions and 1 deletions
|
|
@ -1800,6 +1800,8 @@ struct TABLE_LIST
|
|||
struct st_nested_join *nested_join; /* if the element is a nested join */
|
||||
TABLE_LIST *embedding; /* nested join containing the table */
|
||||
List<TABLE_LIST> *join_list;/* join list the table belongs to */
|
||||
bool lifted; /* set to true when the table is moved to
|
||||
the upper level at the parsing stage */
|
||||
bool cacheable_table; /* stop PS caching */
|
||||
/* used in multi-upd/views privilege check */
|
||||
bool table_in_first_from_clause;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue