List:Commits« Previous MessageNext Message »
From:msvensson Date:August 25 2006 8:11am
Subject:bk commit into 4.1 tree (msvensson:1.2539)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 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, 2006-08-25 10:11:15+02:00, msvensson@neptunus.(none) +1 -0
  Backport fix for finding executables from 5.0

  mysql-test/lib/mtr_misc.pl@stripped, 2006-08-25 10:11:14+02:00, msvensson@neptunus.(none) +16 -2
    On windows the exe does not need to be executable for it to be found

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-4.1-maint

--- 1.6/mysql-test/lib/mtr_misc.pl	2006-08-25 10:11:18 +02:00
+++ 1.7/mysql-test/lib/mtr_misc.pl	2006-08-25 10:11:18 +02:00
@@ -82,7 +82,14 @@ sub mtr_path_exists (@) {
 sub mtr_script_exists (@) {
   foreach my $path ( @_ )
   {
-    return $path if -x $path;
+    if($::glob_win32)
+    {
+      return $path if -f $path;
+    }
+    else
+    {
+      return $path if -x $path;
+    }
   }
   if ( @_ == 1 )
   {
@@ -99,7 +106,14 @@ sub mtr_exe_exists (@) {
   map {$_.= ".exe"} @path if $::glob_win32;
   foreach my $path ( @path )
   {
-    return $path if -x $path;
+    if($::glob_win32)
+    {
+      return $path if -f $path;
+    }
+    else
+    {
+      return $path if -x $path;
+    }
   }
   if ( @path == 1 )
   {
Thread
bk commit into 4.1 tree (msvensson:1.2539)msvensson25 Aug