mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MySQL versions before 5.0 still use cygwin, no need
to convert path
This commit is contained in:
parent
acdfc1e9fe
commit
b40ef082c8
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue