From: Date: November 17 2006 10:46am Subject: bk commit into 5.0 tree (msvensson:1.2315) BUG#24354 List-Archive: http://lists.mysql.com/commits/15476 X-Bug: 24354 Message-Id: <20061117094627.CB79E86DEF1@neptunus.localdomain> 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, 2006-11-17 10:46:21+01:00, msvensson@neptunus.(none) +1 -0 Bug#24354 option "--extern" of mysql-test-run.pl does not work anymore - Dont require restart when using extern and there is no record of master being started(pid is not known) mysql-test/mysql-test-run.pl@stripped, 2006-11-17 10:46:17+01:00, msvensson@neptunus.(none) +10 -2 Don't require restart when running against extern server and no record of master being started # 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-5.0-maint --- 1.154/mysql-test/mysql-test-run.pl 2006-11-17 10:46:27 +01:00 +++ 1.155/mysql-test/mysql-test-run.pl 2006-11-17 10:46:27 +01:00 @@ -3868,8 +3868,16 @@ sub run_testcase_need_master_restart($) } elsif( ! $master->[0]->{'pid'} ) { - $do_restart= 1; - mtr_verbose("Restart master: master is not started"); + if ( $opt_extern ) + { + $do_restart= 0; + mtr_verbose("No restart: using extern master"); + } + else + { + $do_restart= 1; + mtr_verbose("Restart master: master is not started"); + } } return $do_restart;