1
by brian
clean slate |
1 |
stop slave;
|
2 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
3 |
reset master;
|
|
4 |
reset slave;
|
|
5 |
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
6 |
start slave;
|
|
7 |
drop table if exists t1, t2;
|
|
8 |
drop view if exists v1, v2, v3, not_exist_view;
|
|
9 |
create table t1 (a int);
|
|
10 |
create table t2 (b int);
|
|
11 |
create table t3 (c int);
|
|
12 |
create view v1 as select * from t1;
|
|
13 |
create view v2 as select * from t2;
|
|
14 |
create view v3 as select * from t3;
|
|
15 |
drop view not_exist_view;
|
|
16 |
ERROR 42S02: Unknown table 'not_exist_view'
|
|
17 |
drop view v1, not_exist_view;
|
|
18 |
ERROR 42S02: Unknown table 'not_exist_view'
|
|
19 |
select * from v1;
|
|
20 |
ERROR 42S02: Table 'test.v1' doesn't exist
|
|
21 |
drop view v2, v3;
|
|
22 |
select * from v1;
|
|
23 |
ERROR 42S02: Table 'test.v1' doesn't exist
|
|
24 |
select * from v2;
|
|
25 |
ERROR 42S02: Table 'test.v2' doesn't exist
|
|
26 |
select * from v3;
|
|
27 |
ERROR 42S02: Table 'test.v3' doesn't exist
|