mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
The problem is that relying on the output of the 'ls' command is not portable as its behavior is not the same between systems and it might even not be available at all in (Windows). So I added list_files that relies on the portable mysys library instead. (and also list_files_write_file and list_files_append_file, since the test was using '--exec ls' in that way.)
15 lines
360 B
PHP
15 lines
360 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)
|
|
{
|
|
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
|
--list_files $MYSQLTEST_VARDIR/master-data/test t1*
|
|
}
|