MySQL versions before 5.0 still use cygwin, no need

to convert path
This commit is contained in:
unknown 2007-03-01 11:41:29 +01:00
parent acdfc1e9fe
commit b40ef082c8

View file

@ -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;