From: Bjorn Munch Date: January 18 2011 11:41am Subject: bzr commit into mysql-trunk-mtr branch (bjorn.munch:3011) List-Archive: http://lists.mysql.com/commits/129070 Message-Id: <201101181141.p0IBf72m019357@khepri15.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///home/bm136801/my/mtr-tr/ based on revid:bjorn.munch@stripped 3011 Bjorn Munch 2011-01-18 [merge] upmerge undo of 59063 modified: mysql-test/include/rpl_start_server.inc mysql-test/include/rpl_stop_server.inc mysql-test/lib/mtr_gprof.pl === modified file 'mysql-test/include/rpl_start_server.inc' --- a/mysql-test/include/rpl_start_server.inc 2011-01-14 10:40:20 +0000 +++ b/mysql-test/include/rpl_start_server.inc 2011-01-18 11:40:54 +0000 @@ -45,15 +45,7 @@ if ($rpl_server_parameters) --source include/rpl_connection.inc # Write file to make mysql-test-run.pl start up the server again ---let WRITE_TO_FILE= $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect ---let WRITE_TO_VAR= $_rpl_start_server_command -perl; -my $file= $ENV{'WRITE_TO_FILE'}; -my $var= $ENV{'WRITE_TO_VAR'}; -open WRITE_FILE, ">> $file" or die "Error opening $file: $!"; -print WRITE_FILE $var, "\n" or die "Error appending to $file: $!"; -close WRITE_FILE or die "Error closing $file: $!"; -EOF +--exec echo "$_rpl_start_server_command" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect --source include/rpl_reconnect.inc === modified file 'mysql-test/include/rpl_stop_server.inc' --- a/mysql-test/include/rpl_stop_server.inc 2011-01-14 10:40:20 +0000 +++ b/mysql-test/include/rpl_stop_server.inc 2011-01-18 11:40:54 +0000 @@ -44,9 +44,7 @@ if ($rpl_debug) # Write file to make mysql-test-run.pl expect the "crash", but don't start # it until it's told to ---append_file $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect -wait -EOF +--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect # Send shutdown to the connected server and give # it 10 seconds to die before zapping it === modified file 'mysql-test/lib/mtr_gprof.pl' --- a/mysql-test/lib/mtr_gprof.pl 2010-01-05 20:35:50 +0000 +++ b/mysql-test/lib/mtr_gprof.pl 2011-01-18 11:11:52 +0000 @@ -1,5 +1,5 @@ # -*- cperl -*- -# Copyright (C) 2004 MySQL AB +# Copyright (C) 2004 MySQL AB, 2009 Sun Microsystems, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by No bundle (reason: revision is a merge).