1DROP TABLE IF EXISTS t1;
2#
3# Bug#46086: crash when dropping a partitioned table and
4#            the original engine is disabled
5# Copy a .frm and .par file which was created with:
6# create table `t1` (`id` int primary key) engine=blackhole
7# partition by key () partitions 1;
8SHOW TABLES;
9Tables_in_test
10t1
11SHOW CREATE TABLE t1;
12ERROR HY000: Failed to read from the .par file
13DROP TABLE t1;
14ERROR HY000: Got error 175 "File too short; Expected more data in file" from storage engine partition
15t1.frm
16t1.par
17