| 1 |
--echo # |
| 2 |
--echo # Windows version of Tablespace Portability test. |
| 3 |
--echo # |
| 4 |
--echo # This testcase is related to WL#5980 & WL#6205. |
| 5 |
--echo # It tests whether datafiles can be copied from one location |
| 6 |
--echo # to another, and still be opened. In order to make this testcase run |
| 7 |
--echo # on any OS, we create the tablespaces here. |
| 8 |
--echo # |
| 9 |
|
| 10 |
# On Windows, MTR converts '\' to '/' in file names. |
| 11 |
# On other systems, '\' is left unchanged. |
| 12 |
# So this output file is different from the Non-Windows version. |
| 13 |
|
| 14 |
--source include/windows.inc |
| 15 |
|
| 16 |
SET DEFAULT_STORAGE_ENGINE=InnoDB; |
| 17 |
|
| 18 |
--source suite/innodb/include/tablespace_filenames.inc |
| 19 |
|
| 20 |
# There is no tablespace portabilility in mysql-trunk at the moment since ISL |
| 21 |
# files have been disabled and fil_ibd_open() only looks for a file in one place. |
| 22 |
# --source suite/innodb/include/tablespace_portability.inc |
| 23 |
|
| 24 |
--disable_query_log |
| 25 |
call mtr.add_suppression("\\[ERROR\\].* The directory for tablespace .* does not exist or is incorrect"); |
| 26 |
call mtr.add_suppression("\\[ERROR\\].* Cannot create tablespace .* because the directory is not a valid location. The DATAFILE location must be in a known directory"); |
| 27 |
call mtr.add_suppression("\\[ERROR\\].* Cannot create tablespace .* because the directory is not a valid location. The DATAFILE location cannot be under the datadir"); |
| 28 |
--enable_query_log |
| 29 |
|