From 78587a08acfc4d9f34ffaf09672ded531eb4c38a Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 27 Jul 2007 15:36:10 +0300 Subject: [PATCH] portation of the test case for bug 29571 to cover row replication --- .../suite/rpl/r/rpl_row_insert_delayed.result | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/mysql-test/suite/rpl/r/rpl_row_insert_delayed.result b/mysql-test/suite/rpl/r/rpl_row_insert_delayed.result index 2044672f49d..87b375bf653 100644 --- a/mysql-test/suite/rpl/r/rpl_row_insert_delayed.result +++ b/mysql-test/suite/rpl/r/rpl_row_insert_delayed.result @@ -45,4 +45,30 @@ id name 20 is Bond USE test; DROP SCHEMA mysqlslap; +use test; +FLUSH LOGS; +FLUSH LOGS; +CREATE TABLE t1(a int, UNIQUE(a)); +INSERT DELAYED IGNORE INTO t1 VALUES(1); +INSERT DELAYED IGNORE INTO t1 VALUES(1); +flush table t1; +show binlog events in 'master-bin.000002' LIMIT 2,2; +Log_name Pos Event_type Server_id End_log_pos Info +x x x x x table_id: 23 (test.t1) +x x x x x table_id: 23 flags: STMT_END_F +select * from t1; +a +1 +On slave +show binlog events in 'slave-bin.000002' LIMIT 2,2; +Log_name Pos Event_type Server_id End_log_pos Info +x x x x x table_id: 23 (test.t1) +x x x x x table_id: 23 flags: STMT_END_F +select * from t1; +a +1 +drop table t1; +FLUSH LOGS; +FLUSH LOGS; +End of 5.0 tests set @@global.binlog_format = @old_global_binlog_format;