~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#
2
# Test how DROP TABLE works if the index or data file doesn't exists
3
4
# Initialise
5
--disable_warnings
6
drop table if exists t1,t2;
7
--enable_warnings
8
9
create table t1 (a int) engine=myisam;
10
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI
11
drop table if exists t1;
12
create table t1 (a int) engine=myisam;
13
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYI
14
--error 1051,6
15
drop table t1;
16
create table t1 (a int) engine=myisam;
17
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.MYD
18
--error 1105,6,29
19
drop table t1;
20
--error 1051
21
drop table t1;