rpl000009.test 750 Bytes
Newer Older
1 2
#this one assumes we are ignoring updates on tables in database foo, but doing
#the ones in database bar
3
source include/master-slave.inc;
4 5 6 7 8 9
connection master;
drop database if exists foo;
create database foo;
drop database if exists bar;
create database bar;
connection slave;
10
sleep 2;
11 12 13 14 15 16 17 18 19 20 21
drop table if exists foo.foo;
create table foo.foo (n int);
insert into foo.foo values(4);
connection master;
drop table if exists foo.foo;
create table foo.foo (n int);
insert into foo.foo values(5);
drop table if exists bar.bar;
create table bar.bar (m int);
insert into bar.bar values(15);
connection slave;
22
sleep 2;
23
@r/rpl000009.result select foo.foo.n,bar.bar.m from foo.foo,bar.bar;
24 25 26
connection master;
drop database if exists bar;
drop database if exists foo;