summaryrefslogtreecommitdiff
path: root/innobase/trx
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/trx
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/trx')
-rw-r--r--innobase/trx/trx0roll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c
index 82d101304d5..2adebbc6b4b 100644
--- a/innobase/trx/trx0roll.c
+++ b/innobase/trx/trx0roll.c
@@ -469,7 +469,7 @@ loop:
fprintf(stderr,
"InnoDB: Table found: dropping table %s in recovery\n", table->name);
- err = row_drop_table_for_mysql(table->name, trx);
+ err = row_drop_table_for_mysql(table->name, trx, TRUE);
ut_a(err == (int) DB_SUCCESS);
}