summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2007-03-02 00:10:25 +0300
committerunknown <evgen@moonbone.local>2007-03-02 00:10:25 +0300
commitb72e3110da881f0bd94efd0e3b2a88b42138a478 (patch)
tree21050e48fa1c5ce00614620b5107994fdb4d6cb5 /sql/sql_parse.cc
parenta0684ef25f7b2a1f6f02abf3fe4d1f3d7ebb7298 (diff)
parent1437a9c532df2ff1f7dc5d72fdc50cdb89014c90 (diff)
downloadmariadb-git-b72e3110da881f0bd94efd0e3b2a88b42138a478.tar.gz
Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into moonbone.local:/mnt/gentoo64/work/25122-bug-5.0-opt-mysql 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_load.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 614e2ce7b72..9e63fd7eb8d 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2988,7 +2988,7 @@ mysql_execute_command(THD *thd)
if (!(create_info.options & HA_LEX_CREATE_TMP_TABLE))
{
TABLE_LIST *duplicate;
- if ((duplicate= unique_table(thd, create_table, select_tables)))
+ if ((duplicate= unique_table(thd, create_table, select_tables, 0)))
{
update_non_unique_table_error(create_table, "CREATE", duplicate);
res= 1;
@@ -3004,7 +3004,7 @@ mysql_execute_command(THD *thd)
tab= tab->next_local)
{
TABLE_LIST *duplicate;
- if ((duplicate= unique_table(thd, tab, select_tables)))
+ if ((duplicate= unique_table(thd, tab, select_tables, 0)))
{
update_non_unique_table_error(tab, "CREATE", duplicate);
res= 1;