Reproduce
--source include/have_innodb.inc
|
--let $DATADIR= `select @@datadir`
|
|
create table parent (id int not null, primary key (id)) engine=innodb;
|
select * from parent;
|
--remove_file $datadir/test/parent.frm
|
|
drop table parent;
|
create table parent (id int not null, primary key (id)) engine=innodb;
|
|
# Cleanup
|
drop table parent;
|
Result
mysqltest: At line 9: query 'create table parent (id int not null, primary key (id)) engine=innodb' failed: 1050: Table 'parent' already exists
|
Related tests
main.drop_table_force
|