164
164
st_select_lex_unit::init_prepare_fake_select_lex(THD *thd_arg)
166
166
thd_arg->lex->current_select= fake_select_lex;
169
169
&result_table_list.next_local);
170
170
fake_select_lex->context.table_list=
171
171
fake_select_lex->context.first_name_resolution_table=
172
172
fake_select_lex->get_table_list();
179
180
for (order_st *order= (order_st *)global_parameters->order_list.first;
183
184
(*order->item)->walk(&Item::change_context_processor, 0,