From df5d7a5b91c2f4f4a04d0774e3ecb76d8d209ebe Mon Sep 17 00:00:00 2001 From: "heikki@hundin.mysql.fi" <> Date: Fri, 23 Aug 2002 10:52:24 +0300 Subject: row0mysql.c, ha_innobase.cc: Improved error message for out-of-sync frm files --- innobase/row/row0mysql.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'innobase/row/row0mysql.c') diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index bb33f7c1485..d7b685c7f9d 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -1348,7 +1348,9 @@ row_create_table_for_mysql( "InnoDB: creating an InnoDB table with the same name in another\n" "InnoDB: database and moving the .frm file to the current database.\n" "InnoDB: Then MySQL thinks the table exists, and DROP TABLE will\n" - "InnoDB: succeed.\n"); + "InnoDB: succeed.\n" + "InnoDB: You can look further help from section 15.1 of\n" + "InnoDB: http://www.innodb.com/ibman.html\n"); } trx->error_state = DB_SUCCESS; @@ -1867,7 +1869,9 @@ row_drop_table_for_mysql( " InnoDB: Error: table %s does not exist in the InnoDB internal\n" "InnoDB: data dictionary though MySQL is trying to drop it.\n" "InnoDB: Have you copied the .frm file of the table to the\n" - "InnoDB: MySQL database directory from another database?\n", + "InnoDB: MySQL database directory from another database?\n" + "InnoDB: You can look further help from section 15.1 of\n" + "InnoDB: http://www.innodb.com/ibman.html\n", name); goto funct_exit; } @@ -2189,7 +2193,9 @@ row_rename_table_for_mysql( fprintf(stderr, " InnoDB: Error: table %s exists in the InnoDB internal data\n" "InnoDB: dictionary though MySQL is trying rename table %s to it.\n" - "InnoDB: Have you deleted the .frm file and not used DROP TABLE?\n", + "InnoDB: Have you deleted the .frm file and not used DROP TABLE?\n" + "InnoDB: You can look further help from section 15.1 of\n" + "InnoDB: http://www.innodb.com/ibman.html\n", new_name, old_name); fprintf(stderr, -- cgit v1.2.1