mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
d11aa8345d
into mysql.com:/home/bk/w3023-mysql-5.1-new mysql-test/extra/binlog_tests/mix_innodb_myisam_binlog.test: Auto merged mysql-test/extra/rpl_tests/rpl_log.test: Auto merged mysql-test/extra/rpl_tests/rpl_row_delayed_ins.test: Auto merged mysql-test/r/binlog_row_insert_select.result: Auto merged mysql-test/r/rpl_row_delayed_ins.result: Auto merged mysql-test/t/rpl_sp.test: Auto merged mysql-test/t/sp.test: Auto merged sql/ha_ndbcluster_binlog.cc: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged mysql-test/t/rpl_ndb_dd_basic.test: Auto merged sql/log.cc: Auto merged sql/log_event.cc: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/slave.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_table.cc: Auto merged sql/table.h: Auto merged mysql-test/r/binlog_row_mix_innodb_myisam.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_basic_11bugs.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_basic_2myisam.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_basic_3innodb.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_create_table.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_log.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_log_innodb.result: Merge with 5.1.7 release clone. mysql-test/r/rpl_row_sp008.result: Merge with 5.1.7 release clone. mysql-test/t/rpl_row_basic_11bugs.test: Merge with 5.1.7 release clone. mysql-test/t/rpl_row_sp008.test: Merge with 5.1.7 release clone.
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;
|