mariadb/mysql-test/t/rpl_replicate_ignore_db.test
lars@mysql.com ad126d90e0 WL#1012: All changes as one single changeset.
This includes both code and test cases.
2005-12-22 06:39:02 +01:00

30 lines
618 B
Text

# 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;