mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
An interim code cleanup.
Major re-write of code yet has to be done, to circumvent assigning of UNIT to current select and to deal better with offset, limit. mysql-test/r/union.result: A fix of merge fix
This commit is contained in:
@@ -3275,7 +3275,6 @@ mysql_new_select(LEX *lex, bool move_down)
|
||||
select_lex->include_neighbour(lex->current_select);
|
||||
|
||||
select_lex->master_unit()->global_parameters= select_lex;
|
||||
DBUG_ASSERT(lex->current_select->linkage != GLOBAL_OPTIONS_TYPE);
|
||||
select_lex->include_global((st_select_lex_node**)&lex->all_selects_list);
|
||||
lex->current_select= select_lex;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user