mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
reverse order in global select list allow to avoid recursion in derived tables
This commit is contained in:
@ -157,7 +157,7 @@ int mysql_insert(THD *thd,TABLE_LIST *table_list, List<Item> &fields,
|
||||
res= open_and_lock_tables(thd, table_list);
|
||||
if (res)
|
||||
DBUG_RETURN(-1);
|
||||
fix_tables_pointers(&thd->lex.select_lex);
|
||||
fix_tables_pointers(thd->lex.all_selects_list);
|
||||
|
||||
table= table_list->table;
|
||||
thd->proc_info="init";
|
||||
|
Reference in New Issue
Block a user