mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
efab096462
git-svn-id: file:///svn/mysql/tests/mysql-test@47481 c7de825b-a66e-492c-adef-691d508d4ae1
18 lines
514 B
Text
18 lines
514 B
Text
DROP TABLE IF EXISTS t;
|
|
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
|
|
CREATE TABLE t (a VARBINARY(100), b VARBINARY(256)) ENGINE=TokuDB;
|
|
INSERT INTO t VALUES ('hi','there'),('you','people');
|
|
ALTER TABLE t CHANGE COLUMN a a VARBINARY(256);
|
|
SELECT * FROM t;
|
|
a b
|
|
hi there
|
|
you people
|
|
DROP TABLE t;
|
|
CREATE TABLE t (a VARBINARY(100), b VARBINARY(256)) ENGINE=TokuDB;
|
|
INSERT INTO t VALUES ('hi','there'),('you','people');
|
|
ALTER TABLE t CHANGE COLUMN a a VARBINARY(256);
|
|
SELECT * FROM t;
|
|
a b
|
|
hi there
|
|
you people
|
|
DROP TABLE t;
|