mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@ -1334,13 +1334,10 @@ bool mysql_derived_reinit(THD *thd, LEX *lex, TABLE_LIST *derived)
|
||||
(derived->alias.str ? derived->alias.str : "<NULL>"),
|
||||
derived->get_unit()));
|
||||
st_select_lex_unit *unit= derived->get_unit();
|
||||
st_select_lex *sl= unit->first_select();
|
||||
|
||||
// reset item names to that saved after wildcard expansion in JOIN::prepare
|
||||
do
|
||||
{
|
||||
for(st_select_lex *sl= unit->first_select(); sl; sl= sl->next_select())
|
||||
sl->restore_item_list_names();
|
||||
} while ((sl= sl->next_select()));
|
||||
|
||||
derived->merged_for_insert= FALSE;
|
||||
unit->unclean();
|
||||
|
Reference in New Issue
Block a user