1
0
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:
bell@sanja.is.com.ua
2002-11-27 01:12:16 +02:00
parent 6b403114a2
commit aa8af5d6f4
7 changed files with 30 additions and 41 deletions

View File

@ -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";