1 --source include/have_partition.inc
2 --source include/not_blackhole.inc
5 DROP TABLE IF EXISTS t1;
8 let $MYSQLD_DATADIR= `SELECT @@datadir`;
11 --echo # Bug#46086: crash when dropping a partitioned table and
12 --echo # the original engine is disabled
13 --echo # Copy a .frm and .par file which was created with:
14 --echo # create table `t1` (`id` int primary key) engine=blackhole
15 --echo # partition by key () partitions 1;
16 --copy_file std_data/parts/t1_blackhole.frm $MYSQLD_DATADIR/test/t1.frm
17 --copy_file std_data/parts/t1_blackhole.par $MYSQLD_DATADIR/test/t1.par
19 --replace_result $MYSQLD_DATADIR ./
20 --error ER_NOT_FORM_FILE
22 --error ER_BAD_TABLE_ERROR
24 --list_files $MYSQLD_DATADIR/test t1*
25 --remove_file $MYSQLD_DATADIR/test/t1.frm
26 --remove_file $MYSQLD_DATADIR/test/t1.par