2005-12-22 06:39:02 +01:00
|
|
|
# See if INSERT DELAYED gets replicated
|
|
|
|
# Only in row-based, as we do SHOW BINLOG EVENTS
|
|
|
|
|
|
|
|
-- source include/have_binlog_format_row.inc
|
|
|
|
-- source include/master-slave.inc
|
|
|
|
|
|
|
|
connection master;
|
|
|
|
let $VERSION=`select version()`;
|
|
|
|
eval create table t1(a int not null primary key) engine=$engine_type;
|
2007-01-11 23:59:12 +02:00
|
|
|
insert delayed into t1 values (1);
|
|
|
|
insert delayed into t1 values (2);
|
|
|
|
insert delayed into t1 values (3);
|
2005-12-22 06:39:02 +01:00
|
|
|
flush tables;
|
2006-02-16 04:42:16 +01:00
|
|
|
SELECT * FROM t1 ORDER BY a;
|
2005-12-22 06:39:02 +01:00
|
|
|
sync_slave_with_master;
|
|
|
|
|
|
|
|
connection master;
|
|
|
|
--replace_result $VERSION VERSION
|
2006-02-24 16:19:55 +01:00
|
|
|
--replace_regex /table_id: [0-9]+/table_id: #/
|
2005-12-22 06:39:02 +01:00
|
|
|
show binlog events;
|
|
|
|
sync_slave_with_master;
|
2006-02-16 04:42:16 +01:00
|
|
|
SELECT * FROM t1 ORDER BY a;
|
2005-12-22 06:39:02 +01:00
|
|
|
connection master;
|
|
|
|
drop table t1;
|
|
|
|
sync_slave_with_master;
|