2
# Bug#36099 replicate-do-db affects replaying RBR events with mysqlbinlog
3
# The test verifies that the slave side filtering rule does not affect
4
# applying of row-events on master via mysqlbinlog
6
-- source include/have_log_bin.inc
7
-- source include/not_embedded.inc
8
-- source include/have_binlog_format_row.inc
11
drop table if exists t1;
16
create table t1 (a int);
17
insert into t1 values (1);
19
let $MYSQLD_DATADIR= `select @@datadir`;
21
--exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/bug36099.sql
24
--exec $MYSQL -e "source $MYSQLTEST_VARDIR/tmp/bug36099.sql"
26
--echo *** must be 1 ***
32
remove_file $MYSQLTEST_VARDIR/tmp/bug36099.sql;