# test that char change with different charset is not hot --disable_warnings DROP TABLE IF EXISTS t; --enable_warnings SET SESSION TOKUDB_DISABLE_SLOW_ALTER=ON; SET SESSION DEFAULT_STORAGE_ENGINE='TokuDB'; CREATE TABLE t (a CHAR(100)); --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(1) CHARACTER SET latin1 COLLATE latin1_general_cs; --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(100) CHARACTER SET latin1 COLLATE latin1_general_cs; --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(255) CHARACTER SET latin1 COLLATE latin1_general_cs; DROP TABLE t; CREATE TABLE t (a CHAR(100) CHARACTER SET latin1 COLLATE latin1_general_cs); --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(1); --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(100); --replace_regex /MariaDB/XYZ/ /MySQL/XYZ/ --error ER_UNSUPPORTED_EXTENSION ALTER TABLE t CHANGE COLUMN a a CHAR(255); DROP TABLE t;