Debian Codegraph @

mysql-test/suite/federated/rpl.result

raw
1 include/master-slave.inc
2 [connection master]
3 create table t1 (a int primary key, b int);
4 connection slave;
5 rename table t1 to t2;
6 create table t1 (a int primary key, b int) engine=federated connection='mysql://[email protected]:$SLAVE_MYPORT/test/t2';
7 connection master;
8 insert t1 values (1,1),(2,2),(3,1);
9 delete from t1 where a=2;
10 connection slave;
11 select * from t1;
12 a b
13 1 1
14 3 1
15 drop table t2;
16 connection master;
17 drop table t1;
18 include/rpl_end.inc