mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
d918988baa
- dynamic configuration support - safe process - cleanups - create new suite for fedarated
22 lines
551 B
Text
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;
|