List:Commits« Previous MessageNext Message »
From:Luis Soares Date:April 27 2010 11:36am
Subject:bzr commit into mysql-6.0-codebase-bugfixing branch (luis.soares:3842)
View as plain text  
#At file:///home/lsoares/Workspace/bzr/work/bugfixing/53101/mysql-6.0-codebase-bugifixing-push/ based on revid:alik@stripped

 3842 Luis Soares	2010-04-27 [merge]
      manual merge from from mysql-next-mr-bugfixing. Removed extra RESET MASTER.

    modified:
      mysql-test/suite/binlog/t/binlog_tmp_table.test
=== modified file 'mysql-test/suite/binlog/t/binlog_tmp_table.test'
--- a/mysql-test/suite/binlog/t/binlog_tmp_table.test	2010-04-20 12:11:25 +0000
+++ b/mysql-test/suite/binlog/t/binlog_tmp_table.test	2010-04-27 11:35:24 +0000
@@ -28,13 +28,14 @@
 source include/have_log_bin.inc;
 source include/have_binlog_format_mixed_or_statement.inc;
 
+RESET MASTER;
+
 --disable_query_log
 CALL mtr.add_suppression("Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT");
 --enable_query_log
 
 connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
 connect (master1,127.0.0.1,root,,test,$MASTER_MYPORT,);
-RESET MASTER;
 
 create table foo (a int);
 
@@ -72,6 +73,8 @@ truncate table tmp1_foo;
 connection master1;
 truncate table tmp2_foo;
 
+let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1);
+
 flush logs;
 
 connection default;
@@ -83,7 +86,7 @@ create table foo (a int);
 
 # replay from binary log
 let $MYSQLD_DATADIR= `select @@datadir`;
-exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000002 | $MYSQL;
+exec $MYSQL_BINLOG $MYSQLD_DATADIR/$binlog_file | $MYSQL;
 select * from foo;
 
 # clean up


Attachment: [text/bzr-bundle] bzr/luis.soares@sun.com-20100427113524-4i0hn6r8530sb9wn.bundle
Thread
bzr commit into mysql-6.0-codebase-bugfixing branch (luis.soares:3842)Luis Soares27 Apr