List:Internals« Previous MessageNext Message »
From:Heikki Tuuri Date:May 13 2005 5:37pm
Subject:bk commit into 4.1 tree (heikki:1.2270) BUG#10607
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of heikki. When heikki does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2270 05/05/13 18:37:22 heikki@stripped +1 -0
  row0mysql.c:
    InnoDB wrongly complained in the .err log that MySQL is trying to drop a non-existent
table, if tablespace ran out (Bug #10607)

  innobase/row/row0mysql.c
    1.91 05/05/13 18:36:34 heikki@stripped +10 -2
    InnoDB wrongly complained in the .err log that MySQL is trying to drop a non-existent
table, if tablespace ran out (Bug #10607)

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	heikki
# Host:	hundin.mysql.fi
# Root:	/home/heikki/mysql-4.1

--- 1.90/innobase/row/row0mysql.c	Tue Apr 12 16:12:27 2005
+++ 1.91/innobase/row/row0mysql.c	Fri May 13 18:36:34 2005
@@ -1606,10 +1606,18 @@
 		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);
Thread
bk commit into 4.1 tree (heikki:1.2270) BUG#10607Heikki Tuuri13 May