List:Commits« Previous MessageNext Message »
From:Daniel Fischer Date:November 30 2006 9:46pm
Subject:bk commit into 5.0 tree (df:1.2329)
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, 2006-11-30 22:45:55+01:00, df@stripped +1 -0
  late after-merge fix

  mysql-test/mysql-test-run.pl@stripped, 2006-11-30 22:45:53+01:00, df@stripped +7 -1
    late after-merge fix: re-add MTR_BUILD_THREAD=auto

# 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-build-work

--- 1.156/mysql-test/mysql-test-run.pl	2006-11-29 10:33:20 +01:00
+++ 1.157/mysql-test/mysql-test-run.pl	2006-11-30 22:45:53 +01:00
@@ -1233,8 +1233,14 @@ sub command_line_setup () {
 # But a fairly safe range seems to be 5001 - 32767
 #
 
-sub set_mtr_build_thread_ports() {
+sub set_mtr_build_thread_ports($) {
   my $mtr_build_thread= shift;
+
+  if ( lc($mtr_build_thread) eq 'auto' ) {
+    print "Requesting build thread... ";
+    $ENV{'MTR_BUILD_THREAD'} = $mtr_build_thread = mtr_require_unique_id_and_wait("/tmp/mysql-test-ports", 200, 299);
+    print "got ".$mtr_build_thread."\n";
+  }
 
   # Up to two masters, up to three slaves
   $opt_master_myport=         $mtr_build_thread * 10 + 10000; # and 1
Thread
bk commit into 5.0 tree (df:1.2329)Daniel Fischer30 Nov