summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-09-01 14:04:17 +0300
committerunknown <marko@hundin.mysql.fi>2004-09-01 14:04:17 +0300
commite0820e7545621e45b75ea38123384b8931140688 (patch)
tree4f77be6405096d8f1e72c7c186c02f8afbba1d0b /innobase
parent94ecacdb97b97c74aae3eeb29965b80be28ac020 (diff)
downloadmariadb-git-e0820e7545621e45b75ea38123384b8931140688.tar.gz
row0mysql.c:
row_drop_table_for_mysql(): Removed duplicated block of code. innobase/row/row0mysql.c: row_drop_table_for_mysql(): Removed duplicated block of code.
Diffstat (limited to 'innobase')
-rw-r--r--innobase/row/row0mysql.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index fd12759ad0a..2e8c3adf94f 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -2337,21 +2337,6 @@ row_drop_table_for_mysql(
srv_print_innodb_table_monitor = FALSE;
}
- ut_ad(trx->mysql_thread_id == os_thread_get_curr_id());
- ut_a(name != NULL);
-
- if (srv_created_new_raw) {
- fputs(
- "InnoDB: A new raw disk partition was initialized or\n"
- "InnoDB: innodb_force_recovery is on: we do not allow\n"
- "InnoDB: database modifications by the user. Shut down\n"
- "InnoDB: mysqld and edit my.cnf so that newraw is replaced\n"
- "InnoDB: with raw, and innodb_force_... is removed.\n",
- stderr);
-
- return(DB_ERROR);
- }
-
quoted_name = mem_strdupq(name, '\'');
namelen = strlen(quoted_name);
sql = mem_alloc((sizeof str1) + (sizeof str2) - 2 + 1 + namelen);