refs #5334 test multiple hot expand char fields

git-svn-id: file:///svn/mysql/tests/mysql-test@47606 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2012-09-08 23:52:22 +00:00
parent faa6e598b1
commit 3a2f814e36

View file

@ -0,0 +1,16 @@
DROP TABLE IF EXISTS t;
SET SESSION DEFAULT_STORAGE_ENGINE="TokuDB";
CREATE TABLE t (a CHAR(10), b CHAR(10));
INSERT INTO t VALUES ('hi', 'there');
INSERT INTO t VALUES ('you', 'people');
SELECT * FROM t;
a b
hi there
you people
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
ALTER TABLE t CHANGE COLUMN a a CHAR(20), CHANGE COLUMN b b CHAR(30);
SELECT * FROM t;
a b
hi there
you people
DROP TABLE t;