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