Comment 2 for bug 691601

Revision history for this message
Stewart Smith (stewart) wrote :

Patch for Maria:

$ bzr diff
=== modified file 'storage/innodb_plugin/handler/ha_innodb.cc'
--- storage/innodb_plugin/handler/ha_innodb.cc 2011-06-07 16:13:02 +0000
+++ storage/innodb_plugin/handler/ha_innodb.cc 2011-07-05 06:53:14 +0000
@@ -7174,16 +7174,6 @@
  error = row_rename_table_for_mysql(
   norm_from, norm_to, trx, lock_and_commit);

- if (error != DB_SUCCESS) {
- FILE* ef = dict_foreign_err_file;
-
- fputs("InnoDB: Renaming table ", ef);
- ut_print_name(ef, trx, TRUE, norm_from);
- fputs(" to ", ef);
- ut_print_name(ef, trx, TRUE, norm_to);
- fputs(" failed!\n", ef);
- }
-
  if (lock_and_commit) {
   row_mysql_unlock_data_dictionary(trx);