mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
22 lines
546 B
Text
22 lines
546 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;
|
||
|
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
|
||
|
drop table if exists t1;
|
||
|
create table t1 (a int) engine=myisam;
|
||
|
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYI ;
|
||
|
--error 1051,6
|
||
|
drop table t1;
|
||
|
create table t1 (a int) engine=myisam;
|
||
|
system rm $MYSQLTEST_VARDIR/master-data/test/t1.MYD ;
|
||
|
--error 1105,6,29
|
||
|
drop table t1;
|
||
|
--error 1051
|
||
|
drop table t1;
|