647
650
if (lex->current_select->order_list.first && !lex->current_select->braces)
649
652
my_error(ER_WRONG_USAGE, MYF(0), "UNION", "order_st BY");
652
656
select_lex->include_neighbour(lex->current_select);
653
657
Select_Lex_Unit *unit= select_lex->master_unit();
656
662
select_lex->context.outer_context=
657
663
unit->first_select()->context.outer_context;