From 018a88897d65117d3b777a72ee189def2ab2e381 Mon Sep 17 00:00:00 2001 From: "bell@sanja.is.com.ua" <> Date: Wed, 27 Nov 2002 15:52:32 +0200 Subject: [PATCH] after merging fix --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 16ec6f9234c..eed47bbee28 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -2101,7 +2101,7 @@ mysql_execute_command(THD *thd) /* Fix tables-to-be-deleted-from list to point at opened tables */ for (auxi=(TABLE_LIST*) aux_tables ; auxi ; auxi=auxi->next) auxi->table= auxi->table_list->table; - fix_tables_pointers(&lex->select_lex); + fix_tables_pointers(lex->all_selects_list); if (!thd->fatal_error && (result= new multi_delete(thd,aux_tables, table_count))) {