1DROP TABLE IF EXISTS t;
2SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON;
3CREATE TABLE t (a VARCHAR(100), b VARCHAR(256)) ENGINE=TokuDB;
4ALTER TABLE t CHANGE COLUMN a a VARCHAR(1) NOT NULL;
5ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
6ALTER TABLE t CHANGE COLUMN a a VARCHAR(255) NOT NULL;
7ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
8ALTER TABLE t CHANGE COLUMN a a VARCHAR(256) NOT NULL;
9ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
10ALTER TABLE t CHANGE COLUMN b b VARCHAR(255) NOT NULL;
11ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
12ALTER TABLE t CHANGE COLUMN b b VARCHAR(1024) NOT NULL;
13ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
14ALTER TABLE t CHANGE COLUMN b b VARCHAR(256) NOT NULL;
15ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
16DROP TABLE t;
17CREATE TABLE t (a VARCHAR(100) NOT NULL, b VARCHAR(256) NOT NULL) ENGINE=TokuDB;
18ALTER TABLE t CHANGE COLUMN a a VARCHAR(1);
19ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
20ALTER TABLE t CHANGE COLUMN a a VARCHAR(255);
21ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
22ALTER TABLE t CHANGE COLUMN a a VARCHAR(256);
23ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
24ALTER TABLE t CHANGE COLUMN b b VARCHAR(255);
25ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
26ALTER TABLE t CHANGE COLUMN b b VARCHAR(1024);
27ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
28ALTER TABLE t CHANGE COLUMN b b VARCHAR(256);
29ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
30DROP TABLE t;
31