List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:January 20 2009 10:41am
Subject:bzr commit into mysql-5.1 branch (Bjorn.Munch:2707) Bug#41420
View as plain text  
#At file:///home/bm136801/mysql/bug41420-51/

 2707 Bjorn Munch	2009-01-20
      Bug #41420 MTR fails on windows with "The symlink function is unimplemented"
      Don't do the symlink if running on Windows
modified:
  mysql-test/mysql-test-run.pl

=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2008-12-15 14:14:56 +0000
+++ b/mysql-test/mysql-test-run.pl	2009-01-20 10:40:10 +0000
@@ -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");

Thread
bzr commit into mysql-5.1 branch (Bjorn.Munch:2707) Bug#41420Bjorn Munch20 Jan