MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Patrick Crews Date:December 5 2008 1:21pm
Subject:bzr commit into mysql-5.0-bugteam branch (patrick.crews:2732) Bug#41258
View as plain text  
#At file:///Users/pcrews/usr/local/bin/data1/work/mtr_win/mysql-5.0-bugteam/ based on revid:kgeorge@stripped

 2732 Patrick Crews	2008-12-05
      Bug#41258: mysql-test-run does not copy subdirectories of std_data on Windows (5.0 only)
      
      Altered how we copy data from mysql-test/std_data on Windows to match what we are doing in 5.1 and 6.0
modified:
  mysql-test/mysql-test-run.pl

=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl	2008-10-02 14:29:41 +0000
+++ b/mysql-test/mysql-test-run.pl	2008-12-05 13:21:03 +0000
@@ -2380,13 +2380,7 @@ sub setup_vardir() {
   {
     # on windows, copy all files from std_data into var/std_data_ln
     mkpath("$opt_vardir/std_data_ln");
-    opendir(DIR, "$glob_mysql_test_dir/std_data")
-      or mtr_error("Can't find the std_data directory: $!");
-    for(readdir(DIR)) {
-      next if -d "$glob_mysql_test_dir/std_data/$_";
-      copy("$glob_mysql_test_dir/std_data/$_", "$opt_vardir/std_data_ln/$_");
-    }
-    closedir(DIR);
+    mtr_copy_dir("$glob_mysql_test_dir/std_data", "$opt_vardir/std_data_ln");
   }
 
   # Remove old log files

Thread
bzr commit into mysql-5.0-bugteam branch (patrick.crews:2732) Bug#41258Patrick Crews5 Dec