| 1 |
# |
| 2 |
# check that master starterd with log-format=ROW replication can replicate to |
| 3 |
# slave started with log-format=STATEMENT |
| 4 |
# |
| 5 |
|
| 6 |
--source include/have_binlog_format_row.inc |
| 7 |
--source include/master-slave.inc |
| 8 |
|
| 9 |
use test; |
| 10 |
|
| 11 |
create table t1 (a int primary key); |
| 12 |
insert into t1 values (1),(2),(3),(4),(5); |
| 13 |
update t1 set a=a*10; |
| 14 |
|
| 15 |
sync_slave_with_master; |
| 16 |
use test; |
| 17 |
select * from t1; |
| 18 |
source include/show_binlog_events.inc; |
| 19 |
|
| 20 |
connection master; |
| 21 |
drop table t1; |
| 22 |
|
| 23 |
--source include/rpl_end.inc |