MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:msvensson Date:January 9 2008 12:47pm
Subject:bk commit into 5.1 tree (msvensson:1.2688)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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, 2008-01-09 13:47:09+01:00, msvensson@stripped +1 -0
  Add printouts when servers are restarted
  Disable dynamic option switch

  mysql-test/mysql-test-run.pl@stripped, 2008-01-09 13:47:07+01:00, msvensson@stripped +6 -1
    Add printouts when servers are restarted
    Disable dynamic option switch

diff -Nrup a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
--- a/mysql-test/mysql-test-run.pl	2008-01-09 11:15:57 +01:00
+++ b/mysql-test/mysql-test-run.pl	2008-01-09 13:47:07 +01:00
@@ -2822,6 +2822,9 @@ sub server_need_restart {
 
     if (!My::Options::same($started_opts, $extra_opts) )
     {
+      my $use_dynamic_option_switch= 0;
+      return 1 if (!$use_dynamic_option_switch);
+
       mtr_verbose(My::Options::toStr("started_opts", @$started_opts));
       mtr_verbose(My::Options::toStr("extra_opts", @$extra_opts));
 
@@ -2907,7 +2910,7 @@ sub stop_servers($$) {
     # All servers are going down, use some kind of order to
     # avoid too many warnings in the log files
 
-   mtr_verbose("All servers are going down");
+   mtr_report("Restarting all servers");
 
     #  mysqld processes
     My::SafeProcess::shutdown( $opt_shutdown_timeout, started(mysqlds()) );
@@ -2918,6 +2921,8 @@ sub stop_servers($$) {
   }
   else
   {
+    mtr_report("Restarting ", started(@servers));
+
      # Stop only some servers
     My::SafeProcess::shutdown( $opt_shutdown_timeout,
 			       started(@servers) );
Thread
bk commit into 5.1 tree (msvensson:1.2688)msvensson9 Jan