summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-09-03 21:43:04 +0300
committermonty@mysql.com <>2004-09-03 21:43:04 +0300
commitcbd67f49e1750a352e6379eaa42e7d7a8430119b (patch)
treec31fa248fd578ef7653342364a6cf7d8bedf1f0b /sql/sql_delete.cc
parentc5a84657a8945cb4a149607cad72911751a17497 (diff)
downloadmariadb-git-cbd67f49e1750a352e6379eaa42e7d7a8430119b.tar.gz
Cleanup of new code pushed into 5.0 since last pull
Merged the different find_xxxx_table_in_list functions to one + some inline functions
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 910b673dc32..d9d60be162a 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -282,7 +282,7 @@ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds)
my_error(ER_NON_UPDATABLE_TABLE, MYF(0), table_list->alias, "DELETE");
DBUG_RETURN(-1);
}
- if (find_real_table_in_list(table_list->next_global,
+ if (find_table_in_global_list(table_list->next_global,
table_list->db, table_list->real_name))
{
my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->real_name);