Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/t/rpl_drop_view.test |
# test case for bug#30998 # Drop View breaks replication if view does not exist # --source include/not_group_replication_plugin.inc source include/master-slave.inc; --disable_warnings drop table if exists t1, t2; drop view if exists v1, v2, v3, not_exist_view; --enable_warnings create table t1 (a int); create table t2 (b int); create table t3 (c int); create view v1 as select * from t1; create view v2 as select * from t2; create view v3 as select * from t3; --error 1051 drop view not_exist_view; --error 1051 drop view v1, not_exist_view; --error 1146 select * from v1; drop view v2, v3; --source include/sync_slave_sql_with_master.inc --error 1146 select * from v1; --error 1146 select * from v2; --error 1146 select * from v3; --echo ==== clean up ==== connection master; drop table t1, t2, t3; --source include/sync_slave_sql_with_master.inc --source include/rpl_end.inc