From 7133bbca3d2c88c6b1dbb177faec646f1be22ed3 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 Jan 2007 23:59:12 +0200 Subject: [PATCH] Bug #24998 rpl_row_delayed_ins.test fails in pushbuild The test uses show binlog event which is not deterministic due to the single insert delayed query can generate up to number of inserted rows row-events pair (table_map + Write_row) The solution is to leave the current binlogging behaviour as it is and change the test as spliting arguments of insert delayed query. Note, that such fix was applied earlier for binlog_insert_delayed.test : https://intranet.mysql.com/secure/apps/irclog.php?channel=22&start_time=2006-09-27 There are no tests with insert delayed and show binlog events combination requiring this fix. mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: splitting insert delayed per rows --- mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test b/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test index 2059717b225..0e235f8838f 100644 --- a/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test +++ b/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test @@ -7,7 +7,9 @@ connection master; let $VERSION=`select version()`; eval create table t1(a int not null primary key) engine=$engine_type; -insert delayed into t1 values (1),(2),(3); +insert delayed into t1 values (1); +insert delayed into t1 values (2); +insert delayed into t1 values (3); flush tables; SELECT * FROM t1 ORDER BY a; sync_slave_with_master;