diff options
author | Igor Babaev <igor@askmonty.org> | 2012-06-08 22:15:49 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-06-08 22:15:49 -0700 |
commit | 10f42e2c33dff630559299e4151e10a84ce39fd8 (patch) | |
tree | c201a24f62b2e2dbfa1114d9d1eee76477d61d8a /sql/table.h | |
parent | ca5473f1db6dc63baffc736737e54bdffd6449a6 (diff) | |
download | mariadb-git-10f42e2c33dff630559299e4151e10a84ce39fd8.tar.gz |
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.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index f3f9d5ac036..87affe984fc 100644 --- a/sql/table.h +++ b/sql/table.h @@ -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; |