mariadb/mysql-test/t/myisam-system.test
msvensson@pilot.mysql.com d918988baa WL#4189
- dynamic configuration support
 - safe process
 - cleanups
 - create new suite for fedarated
2007-12-12 18:19:24 +01:00

22 lines
551 B
Text

#
# Test how DROP TABLE works if the index or data file doesn't exists
# Initialise
--disable_warnings
drop table if exists t1,t2;
--enable_warnings
create table t1 (a int) engine=myisam;
let $MYSQLD_DATADIR= `select @@datadir`;
--remove_file $MYSQLD_DATADIR/test/t1.MYI
drop table if exists t1;
create table t1 (a int) engine=myisam;
--remove_file $MYSQLD_DATADIR/test/t1.MYI
--error 1051,6
drop table t1;
create table t1 (a int) engine=myisam;
--remove_file $MYSQLD_DATADIR/test/t1.MYD
--error 1105,6,29
drop table t1;
--error 1051
drop table t1;