1# ensure that we can drop a key and a unique key simultaneously
2--source include/have_tokudb.inc
3SET DEFAULT_STORAGE_ENGINE='tokudb';
4--disable_warnings
5drop table if exists t;
6--enable_warnings
7create table t (a int, b int, c int, primary key(a), key(b), unique key(c));
8set session tokudb_disable_slow_alter=1;
9alter table t drop key b, drop key c;
10drop table t;