List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:March 23 2007 11:10am
Subject:bk commit into 5.0 tree (joerg:1.2411)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of joerg. When joerg 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-03-23 11:10:27+01:00, joerg@trift2. +1 -0
  Merge trift2.:/MySQL/M50/mysql-5.0
  into  trift2.:/MySQL/M50/push-5.0
  MERGE: 1.2392.1.104

  mysql-test/mysql-test-run.pl@stripped, 2007-03-23 11:10:22+01:00, joerg@trift2. +0 -0
    Auto merged
    MERGE: 1.208.1.2

# 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:	joerg
# Host:	trift2.
# Root:	/MySQL/M50/push-5.0/RESYNC

--- 1.211/mysql-test/mysql-test-run.pl	2007-03-21 14:27:28 +01:00
+++ 1.212/mysql-test/mysql-test-run.pl	2007-03-23 11:10:22 +01:00
@@ -3641,8 +3641,16 @@
 
   if ( $mysql_version_id >= 50036)
   {
-    # Prevent the started mysqld to access files outside of vardir
-    mtr_add_arg($args, "%s--secure-file-priv=%s", $prefix, $opt_vardir);
+    # By default, prevent the started mysqld to access files outside of vardir
+    my $secure_file_dir= $opt_vardir;
+    if ( $opt_suite ne "main" )
+    {
+      # When running a suite other than default allow the mysqld
+      # access to subdirs of mysql-test/ in order to make it possible
+      # to "load data" from the suites data/ directory.
+      $secure_file_dir= $glob_mysql_test_dir;
+    }
+    mtr_add_arg($args, "%s--secure-file-priv=%s", $prefix, $secure_file_dir);
   }
 
   if ( $mysql_version_id >= 50000 )
Thread
bk commit into 5.0 tree (joerg:1.2411)Joerg Bruehe23 Mar