summaryrefslogtreecommitdiff
path: root/mysql-test/suite/tokudb.alter_table/t/ai_aui.test
blob: 3a94e22d2d81fb0bddb3d2262f2c4d1ad8d7478c (plain)
1
2
3
4
5
6
7
8
9
10
# ensure that we can add a key and a unique key simultaneously
--source include/have_tokudb.inc
set default_storage_engine='tokudb';
--disable_warnings
drop table if exists t;
--enable_warnings
create table t (a int primary key, b int, c int);
set session tokudb_disable_slow_alter=1;
alter table t add key(b), add unique key(c);
drop table t;