mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MySQL versions before 5.0 still use cygwin, no need
to convert path
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user