mariadb/mysql-test/suite/tokudb.change_column/r/change_varchar_cross256.result

19 lines
502 B
Text
Raw Normal View History

DROP TABLE IF EXISTS t;
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
CREATE TABLE t (a VARCHAR(100), b VARCHAR(256)) ENGINE=TokuDB;
INSERT INTO t VALUES ('hi','there'),('you','people');
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256);
SELECT * FROM t;
a b
hi there
you people
DROP TABLE t;
CREATE TABLE t (a VARCHAR(100), b VARCHAR(256)) ENGINE=TokuDB;
INSERT INTO t VALUES ('hi','there'),('you','people');
ALTER TABLE t CHANGE COLUMN a a VARCHAR(256);
SELECT * FROM t;
a b
hi there
you people
DROP TABLE t;