SET DEFAULT_STORAGE_ENGINE='tokudb'; drop table if exists t; create table t (a int, b int, c int, primary key(a), key(b), unique key(c)); set session tokudb_disable_slow_alter=1; alter table t drop key b, drop key c; drop table t;