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