DROP TABLE IF EXISTS t, ti;
SET SESSION TOKUDB_DISABLE_SLOW_ALTER=1;
SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
CREATE TABLE t (a INT, b INT, c INT, KEY(b), id INT PRIMARY KEY);
INSERT INTO t VALUES (1,2,3,1),(4,5,6,2),(7,8,9,3);
CREATE TABLE ti LIKE t;
ALTER TABLE ti ENGINE=myisam;
INSERT INTO ti SELECT * FROM t;
ALTER TABLE t CHANGE COLUMN a a BIGINT;
ALTER TABLE ti CHANGE COLUMN a a BIGINT;
SELECT b FROM t;
b
2
5
8
SELECT b FROM ti;
b
2
5
8
INSERT INTO t VALUES (10,11,12,4);
INSERT INTO ti VALUES (10,11,12,4);
SELECT b FROM t;
b
2
5
8
11
SELECT b FROM ti;
b
2
5
8
11
include/diff_tables.inc [test.t, test.ti]
DROP TABLE t, ti;
