mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
Bug #41420 MTR fails on windows with "The symlink function is unimplemented"
Don't do the symlink if running on Windows
This commit is contained in:
parent
240baba269
commit
d734aa7827
1 changed files with 2 additions and 1 deletions
|
@ -2442,7 +2442,8 @@ sub setup_vardir() {
|
|||
mkpath("$opt_vardir/tmp");
|
||||
mkpath($opt_tmpdir) if $opt_tmpdir ne "$opt_vardir/tmp";
|
||||
|
||||
if ($master->[0]->{'path_sock'} !~ m/^$opt_tmpdir/)
|
||||
# Set up link to master sock if not in var/tmp (not on Windows)
|
||||
if (! $glob_win32 && $master->[0]->{'path_sock'} !~ m/^$opt_tmpdir/)
|
||||
{
|
||||
mtr_report("Symlinking $master->[0]->{'path_sock'}");
|
||||
symlink($master->[0]->{'path_sock'}, "$opt_tmpdir/master.sock");
|
||||
|
|
Loading…
Add table
Reference in a new issue