diff options
author | unknown <ingo@mysql.com> | 2005-12-27 10:31:00 +0100 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-12-27 10:31:00 +0100 |
commit | d03d5a305f21e84f6df95318aa7dbf99a287ad56 (patch) | |
tree | b4448bbf385fd96fc00b6783cc8e9f1a08ac15aa /sql/sql_delete.cc | |
parent | 6759bbce9ac1a01f5f218d777a5a6e4fb0ceab0d (diff) | |
parent | e049f2c8fd6fe2f7dbf3877622737d8b6868721b (diff) | |
download | mariadb-git-d03d5a305f21e84f6df95318aa7dbf99a287ad56.tar.gz |
Merge mysql.com:/home/mydev/mysql-5.0
into mysql.com:/home/mydev/mysql-5.0-bug5390
BitKeeper/deleted/.del-ha_blackhole.cc~727c69ef7846623a:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_update.cc:
Auto merged
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 393e8184725..d8a8f28b92b 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -348,7 +348,7 @@ bool mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds) } { TABLE_LIST *duplicate; - if ((duplicate= unique_table(table_list, table_list->next_global))) + if ((duplicate= unique_table(thd, table_list, table_list->next_global))) { update_non_unique_table_error(table_list, "DELETE", duplicate); DBUG_RETURN(TRUE); @@ -438,7 +438,7 @@ bool mysql_multi_delete_prepare(THD *thd) */ { TABLE_LIST *duplicate; - if ((duplicate= unique_table(target_tbl->correspondent_table, + if ((duplicate= unique_table(thd, target_tbl->correspondent_table, lex->query_tables))) { update_non_unique_table_error(target_tbl->correspondent_table, |