Commit 04d815cf authored by df@pippilotta.erinye.com's avatar df@pippilotta.erinye.com

Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build

into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build
parents ffa270d6 26bd6a2c
...@@ -482,14 +482,9 @@ sub command_line_setup () { ...@@ -482,14 +482,9 @@ sub command_line_setup () {
my $opt_comment; my $opt_comment;
$opt_master_myport= 9306; # Magic number -69.4 results in traditional test ports starting from 9306.
$opt_slave_myport= 9308; set_mtr_build_thread_ports(-69.4);
$opt_ndbcluster_port= 9310;
$opt_ndbcluster_port_slave= 9311;
$im_port= 9312;
$im_mysqld1_port= 9313;
$im_mysqld2_port= 9314;
# If so requested, we try to avail ourselves of a unique build thread number. # If so requested, we try to avail ourselves of a unique build thread number.
if ( $ENV{'MTR_BUILD_THREAD'} ) { if ( $ENV{'MTR_BUILD_THREAD'} ) {
if ( lc($ENV{'MTR_BUILD_THREAD'}) eq 'auto' ) { if ( lc($ENV{'MTR_BUILD_THREAD'}) eq 'auto' ) {
...@@ -1347,6 +1342,7 @@ sub set_mtr_build_thread_ports($) { ...@@ -1347,6 +1342,7 @@ sub set_mtr_build_thread_ports($) {
} }
# Up to two masters, up to three slaves # Up to two masters, up to three slaves
# A magic value in command_line_setup depends on these equations.
$opt_master_myport= $mtr_build_thread * 10 + 10000; # and 1 $opt_master_myport= $mtr_build_thread * 10 + 10000; # and 1
$opt_slave_myport= $opt_master_myport + 2; # and 3 4 $opt_slave_myport= $opt_master_myport + 2; # and 3 4
$opt_ndbcluster_port= $opt_master_myport + 5; $opt_ndbcluster_port= $opt_master_myport + 5;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment