summaryrefslogtreecommitdiff
path: root/innobase/dict/dict0dict.c
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-04-02 16:25:48 +0300
committerunknown <marko@hundin.mysql.fi>2004-04-02 16:25:48 +0300
commitfac3642cc850d86dd927dec456aea19bae706918 (patch)
tree751da20f73c4984ede631acbed2ecfa9bcfe50f6 /innobase/dict/dict0dict.c
parentca68cb6625029607663412584aa361fe563fd9a5 (diff)
downloadmariadb-git-fac3642cc850d86dd927dec456aea19bae706918.tar.gz
InnoDB: ignore intra-database foreign key references between tables
when dropping database (Bug #3058) innobase/dict/dict0crea.c: Add a parameter to row_drop_table_for_mysql() innobase/dict/dict0dict.c: Make dict_tables_have_same_db() a global function innobase/include/dict0dict.h: Make dict_tables_have_same_db() a global function innobase/include/row0mysql.h: Add a parameter to row_drop_table_for_mysql() innobase/row/row0mysql.c: Add a parameter "drop_db" to row_drop_table_for_mysql() to skip foreign constraint checks on tables in same database innobase/trx/trx0roll.c: Add a parameter to row_drop_table_for_mysql() sql/ha_innodb.cc: Add a parameter "drop_db" to row_drop_table_for_mysql() innobase_drop_database(): allocate namebuf dynamically
Diffstat (limited to 'innobase/dict/dict0dict.c')
-rw-r--r--innobase/dict/dict0dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/dict/dict0dict.c b/innobase/dict/dict0dict.c
index 0efb9935800..c0810ad45dc 100644
--- a/innobase/dict/dict0dict.c
+++ b/innobase/dict/dict0dict.c
@@ -177,7 +177,7 @@ mutex_t dict_foreign_err_mutex; /* mutex protecting the foreign
/************************************************************************
Checks if the database name in two table names is the same. */
-static
+
ibool
dict_tables_have_same_db(
/*=====================*/