mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
derived tables with UNION's ...
Scrum task !!!!! mysql-test/r/analyse.result: reverting a fix mysql-test/r/derived.result: derived tables with UNION's ... mysql-test/t/analyse.test: reverting a fix mysql-test/t/derived.test: derived tables with UNION's ... sql/mysql_priv.h: derived tables with UNION's ... sql/sql_analyse.cc: reverting a fix sql/sql_derived.cc: derived tables with UNION's ... sql/sql_lex.cc: derived tables with UNION's ... sql/sql_select.cc: derived tables with UNION's ... sql/sql_union.cc: derived tables with UNION's ...
This commit is contained in:
@ -162,7 +162,7 @@ int handle_select(THD *thd, LEX *lex, select_result *result)
|
||||
register SELECT_LEX *select_lex = &lex->select_lex;
|
||||
fix_tables_pointers(lex->all_selects_list);
|
||||
if (select_lex->next_select())
|
||||
res=mysql_union(thd,lex,result);
|
||||
res=mysql_union(thd,lex,result,&lex->unit);
|
||||
else
|
||||
res=mysql_select(thd,(TABLE_LIST*) select_lex->table_list.first,
|
||||
select_lex->item_list,
|
||||
|
Reference in New Issue
Block a user