List:Commits« Previous MessageNext Message »
From:Daniel Fischer Date:January 12 2007 10:19am
Subject:bk commit into 5.0 tree (df:1.2352)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of df. When df 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-01-12 11:19:02+01:00, df@stripped +1 -0
  Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0
  into  kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-work
  MERGE: 1.2344.1.22

  mysql-test/mysql-test-run.pl@stripped, 2007-01-12 11:19:00+01:00, df@stripped +0 -0
    Auto merged
    MERGE: 1.184.1.5

# 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:	df
# Host:	kahlann.erinye.com
# Root:	/home/df/mysql/build/mysql-5.0-work/RESYNC

--- 1.187/mysql-test/mysql-test-run.pl	2007-01-11 13:48:40 +01:00
+++ 1.188/mysql-test/mysql-test-run.pl	2007-01-12 11:19:00 +01:00
@@ -2873,12 +2873,19 @@ sub install_db ($$) {
     mtr_add_arg($args, "--character-sets-dir=%s", $path_charsetsdir);
   }
 
+  # If DISABLE_GRANT_OPTIONS is defined when the server is compiled (e.g.,
+  # configure --disable-grant-options), mysqld will not recognize the
+  # --bootstrap or --skip-grant-tables options.  The user can set
+  # MYSQLD_BOOTSTRAP to the full path to a mysqld which does accept
+  # --bootstrap, to accommodate this.
+  my $exe_mysqld_bootstrap = $ENV{'MYSQLD_BOOTSTRAP'} || $exe_mysqld;
+
   # Log bootstrap command
   my $path_bootstrap_log= "$opt_vardir/log/bootstrap.log";
   mtr_tofile($path_bootstrap_log,
-	     "$exe_mysqld " . join(" ", @$args) . "\n");
+	     "$exe_mysqld_bootstrap " . join(" ", @$args) . "\n");
 
-  if ( mtr_run($exe_mysqld, $args, $init_db_sql_tmp,
+  if ( mtr_run($exe_mysqld_bootstrap, $args, $init_db_sql_tmp,
                $path_bootstrap_log, $path_bootstrap_log,
 	       "", { append_log_file => 1 }) != 0 )
 
Thread
bk commit into 5.0 tree (df:1.2352)Daniel Fischer12 Jan