List:Commits« Previous MessageNext Message »
From:msvensson Date:December 5 2007 10:06am
Subject:bk commit into 5.0 tree (msvensson:1.2601)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-12-05 11:06:55+01:00, msvensson@stripped +1 -0
  Use 'mkpath' instead of 'mkdir'

  mysql-test/mysql-test-run.pl@stripped, 2007-12-05 11:06:54+01:00, msvensson@stripped +3 -3
    Use 'mkpath' instead of 'mkdir'

diff -Nrup a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
--- a/mysql-test/mysql-test-run.pl	2007-12-04 12:18:54 +01:00
+++ b/mysql-test/mysql-test-run.pl	2007-12-05 11:06:54 +01:00
@@ -1652,7 +1652,7 @@ sub ndb_mgmd_start ($$) {
   mtr_verbose("ndb_mgmd_start");
 
   my $dir= $ndb_mgmd->value("DataDir");
-  mkdir($dir) unless -d $dir;
+  mkpath($dir) unless -d $dir;
 
   my $args;
   mtr_init_args(\$args);
@@ -1694,7 +1694,7 @@ sub ndbd_start {
   mtr_verbose("ndbd_start");
 
   my $dir= $ndbd->value("DataDir");
-  mkdir($dir) unless -d $dir;
+  mkpath($dir) unless -d $dir;
 
   my $args;
   mtr_init_args(\$args);
@@ -2403,7 +2403,7 @@ sub save_files_after_test_failure($$) {
     last if $opt_max_save_core > 0 && $num_saved_cores >= $opt_max_save_core;
     my $core_name= basename($core_file);
     mtr_report(" - saving '$core_name'");
-    mkdir($save_name) if ! -d $save_name;
+    mkpath($save_name) if ! -d $save_name;
     rename("$core_file", "$save_name/$core_name");
     ++$num_saved_cores;
   }
Thread
bk commit into 5.0 tree (msvensson:1.2601)msvensson5 Dec