summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-02-01 15:30:32 +0200
committerbell@sanja.is.com.ua <>2004-02-01 15:30:32 +0200
commit2a9cd37cd69e70dfbfe868b635bc21c8996d8fb7 (patch)
tree6695a3de384136658355d41c6bd8beba4f4f92ac /sql/sql_update.cc
parent95fcfaf63c47fb7c1410877b827a5a666af46b0a (diff)
downloadmariadb-git-2a9cd37cd69e70dfbfe868b635bc21c8996d8fb7.tar.gz
now all tables of query are locked in one place (including derived tables)
fixed BUG#2120 and other problem with EXPLAINing derived tables
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 8ee00f2bca6..45f7a73f6b5 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -79,7 +79,6 @@ int mysql_update(THD *thd,
if ((open_and_lock_tables(thd, table_list)))
DBUG_RETURN(-1);
thd->proc_info="init";
- fix_tables_pointers(thd->lex->all_selects_list);
table= table_list->table;
table->file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK);
@@ -431,7 +430,6 @@ int mysql_multi_update(THD *thd,
#endif
if ((res=open_and_lock_tables(thd,table_list)))
DBUG_RETURN(res);
- fix_tables_pointers(thd->lex->all_selects_list);
select_lex->select_limit= HA_POS_ERROR;