~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_binlog_query_filter_rules.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# regression test for
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
5
 
 
6
 
 
7
 
--disable_warnings
8
 
drop table if exists t1;
9
 
--enable_warnings
10
 
 
11
 
reset master;
12
 
 
13
 
create table t1 (a int);
14
 
insert into t1 values (1);
15
 
 
16
 
let $MYSQLD_DATADIR= `select @@datadir`;
17
 
flush logs;
18
 
--exec $MYSQL_BINLOG  $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/bug36099.sql
19
 
 
20
 
drop table t1;
21
 
--exec $MYSQL -e "source $MYSQLTEST_VARDIR/tmp/bug36099.sql"
22
 
 
23
 
--echo *** must be 1 ***
24
 
select * from t1;
25
 
 
26
 
# cleanup
27
 
 
28
 
drop table t1;
29
 
remove_file $MYSQLTEST_VARDIR/tmp/bug36099.sql;