mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
13a61982a9
into mysql.com:/home/bk/w3023-mysql-5.1-new
23 lines
635 B
Text
23 lines
635 B
Text
# 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),(2),(3);
|
|
flush tables;
|
|
SELECT * FROM t1 ORDER BY a;
|
|
sync_slave_with_master;
|
|
|
|
connection master;
|
|
--replace_result $VERSION VERSION
|
|
--replace_regex /table_id: [0-9]+/table_id: #/
|
|
show binlog events;
|
|
sync_slave_with_master;
|
|
SELECT * FROM t1 ORDER BY a;
|
|
connection master;
|
|
drop table t1;
|
|
sync_slave_with_master;
|