List:Commits« Previous MessageNext Message »
From:Serge Kozlov Date:March 29 2009 6:51pm
Subject:bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2837) Bug#38077
View as plain text  
#At file:///home/ksm/sun/repo/bug38077/mysql-5.1-bugteam/ based on revid:staale.smedseng@stripped

 2837 Serge Kozlov	2009-03-29
      Bug#38077. 
      Sync slave with master before inserting an incident event and 
      avoid cases when slave has not received data yet.
      modified:
        mysql-test/suite/rpl/t/rpl_incident.test

=== modified file 'mysql-test/suite/rpl/t/rpl_incident.test'
--- a/mysql-test/suite/rpl/t/rpl_incident.test	2008-08-14 09:38:22 +0000
+++ b/mysql-test/suite/rpl/t/rpl_incident.test	2009-03-29 18:51:33 +0000
@@ -7,6 +7,10 @@ CREATE TABLE t1 (a INT);
 INSERT INTO t1 VALUES (1),(2),(3);
 SELECT * FROM t1;
 
+# Replicate data to slave
+--sync_slave_with_master
+--connection master
+
 # This will generate an incident log event and store it in the binary
 # log before the replace statement.
 REPLACE INTO t1 VALUES (4);

Thread
bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2837) Bug#38077Serge Kozlov29 Mar
  • Re: bzr commit into mysql-5.1-bugteam branch (Serge.Kozlov:2837)Bug#38077Alfranio Correia2 Apr