Current Path : /home/usr.opt/mysql57/mysql-test/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/t/myisam-system.test |
# # Test how DROP TABLE works if the index or data file doesn't exists # myisam specific test --source include/force_myisam_default.inc --source include/have_myisam.inc # 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 ER_BAD_TABLE_ERROR,6 drop table t1; create table t1 (a int) engine=myisam; --remove_file $MYSQLD_DATADIR/test/t1.MYD --error ER_BAD_TABLE_ERROR,6,29 drop table t1; --error ER_BAD_TABLE_ERROR drop table t1;