summaryrefslogtreecommitdiff
path: root/innobase/row/row0mysql.c
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-05-14 23:48:15 +0200
committerkent@mysql.com <>2005-05-14 23:48:15 +0200
commita628878bbfa1e4db5171bc8cf63416f66dca9ede (patch)
treecba4e6ab6d4d475afed624aa5f810b93a0a6fccf /innobase/row/row0mysql.c
parent3eebfde64480a66b3c8503f337102b9e63f3722a (diff)
parent6588997eb8218233b664fbbb32b130e832387daa (diff)
downloadmariadb-git-a628878bbfa1e4db5171bc8cf63416f66dca9ede.tar.gz
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/cw/mysql-4.1
Diffstat (limited to 'innobase/row/row0mysql.c')
-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 9410f2ce7cc..280c306cce4 100644
--- a/innobase/row/row0mysql.c
+++ b/innobase/row/row0mysql.c
@@ -1606,10 +1606,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);