mariadb/mysql-test/suite/tokudb.alter_table/t/hcad_part.test
Rich Prohaska 37409b3b70 refs #5545 use default_storage_engine in mysql alter table tests
git-svn-id: file:///svn/mysql/tests/mysql-test@48564 c7de825b-a66e-492c-adef-691d508d4ae1
2012-10-03 18:06:38 +00:00

13 lines
391 B
Text

--source include/have_tokudb.inc
--source include/have_partition.inc
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
SET SESSION tokudb_disable_slow_alter=1;
CREATE TABLE foo (a INT, b INT, PRIMARY KEY (a)) PARTITION BY HASH(a) PARTITIONS 2;
SHOW CREATE TABLE foo;
ALTER TABLE foo ADD COLUMN c INT;
SHOW CREATE TABLE foo;
DROP TABLE foo;