summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-05-14 12:38:12 +0400
committerkonstantin@mysql.com <>2005-05-14 12:38:12 +0400
commit89bd09fed2565f0e509a9d81ca7e9782ff1f8ea1 (patch)
tree301d852032306dc5560a6076b889c4d7c3d6da7d /innobase
parent3ff39b3704b4b0023ab107217ec36fe578f26e4d (diff)
parent6c981c0b8005a1577c7dfd93eb656a5da46ef9f0 (diff)
downloadmariadb-git-89bd09fed2565f0e509a9d81ca7e9782ff1f8ea1.tar.gz
Manual merge (again)
Diffstat (limited to 'innobase')
-rw-r--r--innobase/row/row0mysql.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c
index 7f78a5b723b..fd720046e31 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -1885,10 +1885,18 @@ row_create_table_for_mysql(
trx_general_rollback_for_mysql(trx, FALSE, NULL);
if (err == DB_OUT_OF_FILE_SPACE) {
- fputs("InnoDB: Warning: cannot create table ", stderr);
+ ut_print_timestamp(stderr);
+
+ fputs(" InnoDB: Warning: cannot create table ",
+ stderr);
ut_print_name(stderr, trx, table->name);
fputs(" because tablespace full\n", stderr);
- row_drop_table_for_mysql(table->name, trx, FALSE);
+
+ if (dict_table_get_low(table->name)) {
+
+ row_drop_table_for_mysql(table->name, trx,
+ FALSE);
+ }
} else if (err == DB_DUPLICATE_KEY) {
ut_print_timestamp(stderr);