List:Commits« Previous MessageNext Message »
From:Jim Winstead Date:April 27 2006 10:33pm
Subject:bk commit into 5.0 tree (jimw:1.2105)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of jwinstead. When jwinstead 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
  1.2105 06/04/28 00:33:47 jimw@stripped +1 -0
  Merge jwinstead@stripped:/home/bk/mysql-5.0
  into  mysql.com:/nfstmp1/jwinstead/mysql-5.0-clean

  mysql-test/mysql-test-run.pl
    1.92 06/04/28 00:33:36 jimw@stripped +0 -0
    Auto merged

# 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:	jimw
# Host:	production.mysql.com
# Root:	/nfstmp1/jwinstead/mysql-5.0-clean/RESYNC

--- 1.91/mysql-test/mysql-test-run.pl	2006-04-27 21:26:19 +02:00
+++ 1.92/mysql-test/mysql-test-run.pl	2006-04-28 00:33:36 +02:00
@@ -255,6 +255,7 @@
 
 our $opt_skip;
 our $opt_skip_rpl;
+our $use_slaves;
 our $opt_skip_test;
 our $opt_skip_im;
 
@@ -406,16 +407,15 @@
     my $tests= collect_test_cases($opt_suite);
 
     # Turn off NDB and other similar options if no tests use it
-    my ($need_ndbcluster,$need_im,$need_slave);
+    my ($need_ndbcluster,$need_im);
     foreach my $test (@$tests)
     {
       $need_ndbcluster||= $test->{ndb_test};
       $need_im||= $test->{component_id} eq 'im';
-      $need_slave||= $test->{slave_num};
+      $use_slaves||= $test->{slave_num};
     }
     $opt_with_ndbcluster= 0 unless $need_ndbcluster;
     $opt_skip_im= 1 unless $need_im;
-    $opt_skip_rpl= 1 unless $need_slave;
 
     snapshot_setup();
     initialize_servers();
@@ -974,7 +974,7 @@
     $master->[0]->{'path_myddir'},
     $master->[1]->{'path_myddir'});
 
-  unless ($opt_skip_rpl)
+  if ($use_slaves)
   {
     push @data_dir_lst, ($slave->[0]->{'path_myddir'},
                          $slave->[1]->{'path_myddir'},
@@ -1661,7 +1661,7 @@
   install_db('master', $master->[0]->{'path_myddir'});
   install_db('master', $master->[1]->{'path_myddir'});
 
-  if ( ! $opt_skip_rpl )
+  if ( $use_slaves )
   {
     install_db('slave',  $slave->[0]->{'path_myddir'});
     install_db('slave',  $slave->[1]->{'path_myddir'});
Thread
bk commit into 5.0 tree (jimw:1.2105)Jim Winstead28 Apr