1DROP TABLE IF EXISTS t;
2SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
3SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB';
4CREATE TABLE t (a BINARY(100), b BINARY(200), KEY(a), KEY(b));
5ALTER TABLE t CHANGE COLUMN a a BINARY(100);
6ALTER TABLE t CHANGE COLUMN a a BINARY(1);
7ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
8ALTER TABLE t CHANGE COLUMN a a BINARY(255);
9ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
10ALTER TABLE t CHANGE COLUMN b b BINARY(200);
11ALTER TABLE t CHANGE COLUMN b b BINARY(1);
12ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
13ALTER TABLE t CHANGE COLUMN b b BINARY(255);
14ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
15DROP TABLE t;
16CREATE TABLE t (a BINARY(1), b BINARY(2), KEY(a,b));
17ALTER TABLE t CHANGE COLUMN a a BINARY(3);
18ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
19ALTER TABLE t CHANGE COLUMN b b BINARY(3);
20ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
21DROP TABLE t;
22