1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Allow row events in replication stream for slave in all cases

(even when configured with --binlog-format=statement).
Before we got an error on the slave and the slave stopped if the master
was configured with --binlog-format=mixed or --binlog-format=row.
This commit is contained in:
Monty
2015-10-08 10:16:35 +03:00
parent d278fb4922
commit ca051fa027
5 changed files with 59 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
#
# check that master starterd with log-format=ROW replication can replicate to
# slave started with log-format=STATEMENT
#
--source include/have_binlog_format_row.inc
--source include/master-slave.inc
use test;
create table t1 (a int primary key);
insert into t1 values (1),(2),(3),(4),(5);
update t1 set a=a*10;
sync_slave_with_master;
use test;
select * from t1;
source include/show_binlog_events.inc;
connection master;
drop table t1;
--source include/rpl_end.inc