diff options
author | unknown <msvensson@pilot.blaudden> | 2007-03-01 11:41:29 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-03-01 11:41:29 +0100 |
commit | b40ef082c843a50992dbfefd214743f82d0ef481 (patch) | |
tree | 9358261660a8c58d472c57f96d952b661f7d47fa /mysql-test | |
parent | acdfc1e9fe76c16db3b8d8dc89980225e9aadea7 (diff) | |
download | mariadb-git-b40ef082c843a50992dbfefd214743f82d0ef481.tar.gz |
MySQL versions before 5.0 still use cygwin, no need
to convert path
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/lib/mtr_misc.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_misc.pl b/mysql-test/lib/mtr_misc.pl index 880368be170..ef7dda358f2 100644 --- a/mysql-test/lib/mtr_misc.pl +++ b/mysql-test/lib/mtr_misc.pl @@ -54,6 +54,12 @@ sub mtr_short_hostname () { sub mtr_native_path($) { my $path= shift; + + # MySQL version before 5.0 still use cygwin, no need + # to convert path + return $path + if ($::mysql_version_id < 50000); + $path=~ s/\//\\/g if ($::glob_win32); return $path; |