summaryrefslogtreecommitdiff
path: root/mysql-test/t/drop_bad_db_type.test
blob: 69e1a889b18c1ab8e20782e71ef79c35c5b27b88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

--source include/have_debug.inc

if (!$HA_ARCHIVE_SO) {
  skip Needs Archive plugin;
}

let $mysqld_datadir= `select @@datadir`;

set debug_dbug='+d,unstable_db_type';

install soname 'ha_archive';
create table t1 (a int) engine=archive;
insert t1 values (1),(2),(3);
flush tables;
uninstall soname 'ha_archive';

install soname 'ha_archive';
--list_files $mysqld_datadir/test
drop table t1;
--list_files $mysqld_datadir/test
uninstall soname 'ha_archive';

set debug_dbug='-d,unstable_db_type';