List:Commits« Previous MessageNext Message »
From:Jorgen Loland Date:December 15 2008 1:18pm
Subject:bzr commit into mysql-6.0 branch (jorgen.loland:2738) Bug#41359
View as plain text  
#At file:///localhome/jl208045/mysql/mysql-6.0-backup-41359/

 2738 Jorgen Loland	2008-12-15
      Bug#41359 - backup.backup_errors fails after merge of main and backup trees
      
      Test backup_errors failed because SHOW WARNINGS after a successful backup statement may return warnings from previous statements. This is a temporary fix to quickly reenable the test. A proper fix will be submitted in bug 41468
modified:
  mysql-test/suite/backup/r/backup_errors.result
  mysql-test/suite/backup/t/backup_errors.test
  mysql-test/suite/backup/t/disabled.def

per-file messages:
  mysql-test/suite/backup/r/backup_errors.result
    Do not perform SHOW WARNINGS after successful BACKUP statement due to bug 41468.
  mysql-test/suite/backup/t/backup_errors.test
    Do not perform SHOW WARNINGS after successful BACKUP statement due to bug 41468.
  mysql-test/suite/backup/t/disabled.def
    Enable backup_errors
=== modified file 'mysql-test/suite/backup/r/backup_errors.result'
--- a/mysql-test/suite/backup/r/backup_errors.result	2008-12-15 09:22:24 +0000
+++ b/mysql-test/suite/backup/r/backup_errors.result	2008-12-15 12:18:24 +0000
@@ -19,8 +19,6 @@ Error	#	Can't write to backup location '
 BACKUP DATABASE adb TO "test.bak";
 backup_id
 #
-SHOW WARNINGS;
-Level	Code	Message
 BACKUP DATABASE adb TO "test.bak";
 ERROR HY000: Can't create/write to file 'MYSQLTEST_VARDIR/master-data/test.bak' (Errcode: #)
 SHOW WARNINGS;

=== modified file 'mysql-test/suite/backup/t/backup_errors.test'
--- a/mysql-test/suite/backup/t/backup_errors.test	2008-12-15 09:22:24 +0000
+++ b/mysql-test/suite/backup/t/backup_errors.test	2008-12-15 12:18:24 +0000
@@ -43,7 +43,8 @@ SHOW WARNINGS;
 --replace_column 1 #
 BACKUP DATABASE adb TO "test.bak";
 --replace_column 2 #
-SHOW WARNINGS;
+# Reenable when bug#41468 has been fixed. There should not be warnings 
+#SHOW WARNINGS;
 
 # don't overwrite existing backup image
 --replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR

=== modified file 'mysql-test/suite/backup/t/disabled.def'
--- a/mysql-test/suite/backup/t/disabled.def	2008-12-10 15:53:06 +0000
+++ b/mysql-test/suite/backup/t/disabled.def	2008-12-15 12:18:24 +0000
@@ -16,5 +16,4 @@ backup_no_data                : Bug#4100
 backup_ddl_blocker            : Bug#41008 2008-12-08 alik union.test does not cleanup
 backup                        : Bug#40807 2008-11-18 hakank Test fails on big-endian architecture
 backup_timeout                : Bug#40808 2008-11-18 hakank Test fails on big-endian architecture
-backup_errors                 : Bug#41359 2008-12-10 ingo Test fails after merge of main and backup trees
 backup_views                  : Bug#41360 2008-12-10 ingo Test fails after merge of main and backup trees

Thread
bzr commit into mysql-6.0 branch (jorgen.loland:2738) Bug#41359Jorgen Loland15 Dec
  • Re: bzr commit into mysql-6.0 branch (jorgen.loland:2738) Bug#41359Øystein Grøvlen15 Dec