mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
reverse order in global select list allow to avoid recursion in derived tables
sql/sql_delete.cc: new order in global select list sql/sql_derived.cc: removed recursion from derived tables sql/sql_insert.cc: new order in global select list sql/sql_lex.h: pointer to global select list sql/sql_select.cc: new order in global select list sql/sql_update.cc: new order in global select list
This commit is contained in:
parent
8079acf080
commit
a554151951
7 changed files with 30 additions and 41 deletions
|
|
@ -43,7 +43,7 @@ int mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds, ORDER *order,
|
|||
|
||||
if ((open_and_lock_tables(thd, table_list)))
|
||||
DBUG_RETURN(-1);
|
||||
fix_tables_pointers(&thd->lex.select_lex);
|
||||
fix_tables_pointers(thd->lex.all_selects_list);
|
||||
table= table_list->table;
|
||||
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
|
||||
thd->proc_info="init";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue