1 # test case for bug#30998
2 # Drop View breaks replication if view does not exist
5 source include/master-slave.inc;
7 drop table if exists t1, t2;
8 drop view if exists v1, v2, v3, not_exist_view;
10 create table t1 (a int);
11 create table t2 (b int);
12 create table t3 (c int);
13 create view v1 as select * from t1;
14 create view v2 as select * from t2;
15 create view v3 as select * from t3;
17 drop view not_exist_view;
19 drop view v1, not_exist_view;
33 --echo ==== clean up ====
35 drop table t1, t2, t3;
36 sync_slave_with_master;
37 --source include/rpl_end.inc