mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
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:
parent
faa6e598b1
commit
3a2f814e36
1 changed files with 16 additions and 0 deletions
|
@ -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;
|
Loading…
Add table
Reference in a new issue