Commit b40ef082 authored by unknown's avatar unknown

MySQL versions before 5.0 still use cygwin, no need

to convert path

parent acdfc1e9
...@@ -54,6 +54,12 @@ sub mtr_short_hostname () { ...@@ -54,6 +54,12 @@ sub mtr_short_hostname () {
sub mtr_native_path($) sub mtr_native_path($)
{ {
my $path= shift; 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 $path=~ s/\//\\/g
if ($::glob_win32); if ($::glob_win32);
return $path; return $path;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment