~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# see if --replicate-ignore-db works

--source include/master-slave.inc

--disable_warnings
drop database if exists mysqltest1;
drop database if exists mysqltest2;
--enable_warnings
create database mysqltest1;
create database mysqltest2;

use mysqltest1;
create table t1 (a int);
insert into t1 values(1);
sync_slave_with_master;
--error 1146
select * from mysqltest1.t1;

connection master;
use mysqltest2;
create table t1 (a int);
insert into t1 values(1);
sync_slave_with_master;
select * from mysqltest2.t1;

# cleanup
connection master;
drop database mysqltest1;
drop database mysqltest2;
sync_slave_with_master;