#At file:///localhome/jl208045/mysql/mergecaptain/mysql-6.0-backup-merge/ based on revid:charles.bell@stripped
2786 Jorgen Loland 2009-03-24
Bug#39063 - Online Backup: Backup behavior changes with the case used for the database name
Followup patch:
* rename backup_dbname_notwin to backup_dbname_lctn0 for uniformity
* make backup_dbname_lctn0 execute on case sensitive file systems only
* make backup_dbname_lctn2 execute on case insensitive file systems only
@ mysql-test/suite/backup/r/backup_dbname_lctn0.result
Rename test file
@ mysql-test/suite/backup/t/backup_dbname_lctn0-master.opt
Explicitly execute backup_dbname_lctn0.test with system variable lower_case_table_names=0
@ mysql-test/suite/backup/t/backup_dbname_lctn0.test
Rename test file and make it run on servers with case sensitive file systems only
@ mysql-test/suite/backup/t/backup_dbname_lctn2.test
Make test run on servers with case insensitive file systems only
added:
mysql-test/suite/backup/t/backup_dbname_lctn0-master.opt
renamed:
mysql-test/suite/backup/r/backup_dbname_notwin.result => mysql-test/suite/backup/r/backup_dbname_lctn0.result
mysql-test/suite/backup/t/backup_dbname_notwin.test => mysql-test/suite/backup/t/backup_dbname_lctn0.test
modified:
mysql-test/suite/backup/t/backup_dbname_lctn2.test
mysql-test/suite/backup/t/backup_dbname_lctn0.test
=== renamed file 'mysql-test/suite/backup/r/backup_dbname_notwin.result' => 'mysql-test/suite/backup/r/backup_dbname_lctn0.result'
=== added file 'mysql-test/suite/backup/t/backup_dbname_lctn0-master.opt'
--- a/mysql-test/suite/backup/t/backup_dbname_lctn0-master.opt 1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/backup/t/backup_dbname_lctn0-master.opt 2009-03-24 15:44:54 +0000
@@ -0,0 +1 @@
+--lower_case_table_names=0
=== renamed file 'mysql-test/suite/backup/t/backup_dbname_notwin.test' => 'mysql-test/suite/backup/t/backup_dbname_lctn0.test'
--- a/mysql-test/suite/backup/t/backup_dbname_notwin.test 2009-03-10 10:02:06 +0000
+++ b/mysql-test/suite/backup/t/backup_dbname_lctn0.test 2009-03-24 15:44:54 +0000
@@ -1,11 +1,13 @@
#
-# Test BACKUP/RESTORE on case-sensitive servers. In this environment,
-# databases 'X' and 'x' are two different databases that can be backed
-# up and restore independently.
+# Test BACKUP/RESTORE on case-sensitive servers, i.e., servers with
+# case sensitive file systems (typically *nix) and system variable
+# lower_case_table_names=0. In this environment, databases 'X' and 'x'
+# are two different databases that can be backed up and restore
+# independently.
#
--source include/not_embedded.inc
---source include/not_windows.inc
+--source include/have_case_sensitive_file_system.inc
--echo #
--echo # Create two database:
=== modified file 'mysql-test/suite/backup/t/backup_dbname_lctn2.test'
--- a/mysql-test/suite/backup/t/backup_dbname_lctn2.test 2009-03-10 10:02:06 +0000
+++ b/mysql-test/suite/backup/t/backup_dbname_lctn2.test 2009-03-24 15:44:54 +0000
@@ -1,8 +1,9 @@
#
-# This test is designed to ensure the backup can successfully
-# backup and retore databases with upper case names when the
-# --lower_case_table_names = 2 on the Windows platform.
+# This test is designed to ensure the backup can successfully backup
+# and retore databases with upper case names when the
+# --lower_case_table_names = 2 on plattforms with case insensitive
+# file systems (Windows, Mac)
#
---source include/windows.inc
+--source include/have_case_insensitive_file_system.inc
--source suite/backup/t/backup_dbname_lctn1.test
Attachment: [text/bzr-bundle] bzr/jorgen.loland@sun.com-20090324154454-5ck7m84c24lmi176.bundle
| Thread |
|---|
| • bzr commit into mysql-6.0-backup-merge branch (jorgen.loland:2786) Bug#39063 | Jorgen Loland | 24 Mar |