mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
- addendum of the fix for bug 27786:
applied the new function is_union() to places in the code that check the same condition. - 5.0->5.1 merge fixes mysql-test/r/subselect3.result: merge 5.0->5.1 : updated explain. sql/item_subselect.cc: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places. sql/sql_derived.cc: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places. sql/sql_parse.cc: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places. sql/sql_select.cc: addendum of the fix for bug 27786: applied the new function is_union() to places in the code that check the same condition. sql/sql_union.cc: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places. sql/sql_view.cc: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places. sql/sql_yacc.yy: addendum of the fix for bug 27786: applied the new function is_union() to the applicable places.
This commit is contained in:
@ -818,7 +818,7 @@ loop_out:
|
||||
UNION
|
||||
*/
|
||||
if (view->updatable_view &&
|
||||
!lex->select_lex.next_select() &&
|
||||
!lex->select_lex.master_unit()->is_union() &&
|
||||
!((TABLE_LIST*)lex->select_lex.table_list.first)->next_local &&
|
||||
find_table_in_global_list(lex->query_tables->next_global,
|
||||
lex->query_tables->db,
|
||||
|
Reference in New Issue
Block a user