mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 22:34:18 +01:00
37409b3b70
git-svn-id: file:///svn/mysql/tests/mysql-test@48564 c7de825b-a66e-492c-adef-691d508d4ae1
13 lines
391 B
Text
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;
|