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