mariadb/mysql-test/suite/tokudb.alter_table/t/ai_aui.test
Rich Prohaska 8ca5e13ee7 refs #5258 add mysql tests for the add key uniq key bug
git-svn-id: file:///svn/mysql/tests/mysql-test@45779 c7de825b-a66e-492c-adef-691d508d4ae1
2012-07-16 21:51:53 +00:00

10 lines
No EOL
335 B
Text

# ensure that we can add a key and a unique key simultaneously
--source include/have_tokudb.inc
set 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;