summaryrefslogtreecommitdiff
path: root/mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test
blob: bad308ff814ecc316ddf244c78e89228bcf62524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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;
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;

SELECT * FROM t1 ORDER BY a;
connection master;
drop table t1;

--source include/rpl_end.inc