mirror of
https://github.com/MariaDB/server.git
synced 2025-12-13 20:03:16 +03:00
Bug#56657: Test still uses "--exec rm -f ..." which is non-portable Bug#56601: Test uses Unix path for temporary file, fails, and writes misleading message Several tests that was written in a non portable way (failed on windows) Fixed by 1) backporting the fix for replace_result to also apply to list_files (mysqltest from mysql-trunk) 2) replacing all #p#/#sp#/#tmp# to #P#/#SP#/#TMP#/ (innodb always converts filenames to lower case in windows). 3) replacing '--exec rm -f' with '--remove_files_wildcard' 4) replacing a perl snippet with '--write_file'
16 lines
404 B
PHP
16 lines
404 B
PHP
# inc/partition_layout.inc
|
|
#
|
|
# Print partitioning related informations about the table t1
|
|
#
|
|
|
|
eval SHOW CREATE TABLE t1;
|
|
|
|
# Optional (most probably issues with separators and case sensitivity)
|
|
# listing of files belonging to the table t1
|
|
if ($ls)
|
|
{
|
|
let $MYSQLD_DATADIR= `select @@datadir`;
|
|
--replace_result $MYSQLD_DATADIR MYSQLD_DATADIR #p# #P# #sp# #SP#
|
|
--list_files $MYSQLD_DATADIR/test t1*
|
|
}
|