Don't use the "4.1 vardir trick" on OS that does not have native symlink(i.e windows)

parent e5c2351b
...@@ -758,7 +758,8 @@ sub command_line_setup () { ...@@ -758,7 +758,8 @@ sub command_line_setup () {
$opt_vardir= $default_vardir; $opt_vardir= $default_vardir;
} }
elsif ( $mysql_version_id < 50000 and elsif ( $mysql_version_id < 50000 and
$opt_vardir ne $default_vardir ) ! $glob_win32 and # No supported on platforms without native symlink
$opt_vardir ne $default_vardir)
{ {
# Version 4.1 and --vardir was specified # Version 4.1 and --vardir was specified
# Only supported as a symlink from var/ # Only supported as a symlink from var/
......
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