mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03: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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user