mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -8987,7 +8987,13 @@ push_new_name_resolution_context(THD *thd,
|
||||
left_op->first_leaf_for_name_resolution();
|
||||
on_context->last_name_resolution_table=
|
||||
right_op->last_leaf_for_name_resolution();
|
||||
return thd->lex->push_context(on_context);
|
||||
LEX *lex= thd->lex;
|
||||
on_context->select_lex = lex->current_select;
|
||||
st_select_lex *curr_select= lex->pop_select();
|
||||
st_select_lex *outer_sel= lex->select_stack_head();
|
||||
lex->push_select(curr_select);
|
||||
on_context->outer_context = outer_sel ? &outer_sel->context : 0;
|
||||
return lex->push_context(on_context);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user