1--disable_warnings 2let $ENGINE=`select variable_value from performance_schema.global_variables where variable_name='DEFAULT_STORAGE_ENGINE'`; 3--enable_warnings 4 5--disable_warnings 6DROP TABLE IF EXISTS t2; 7--enable_warnings 8CREATE TABLE t2(c1 CHAR(50) NULL); 9CREATE UNIQUE INDEX i1 ON t2(c1); 10SHOW TABLES; 11 12 13 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 14 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 15CREATE TABLE t2(c1 VARCHAR(50) NULL); 16CREATE UNIQUE INDEX i1 ON t2(c1); 17SHOW TABLES; 18 19 20 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 21 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 22CREATE TABLE t2(c1 BINARY(50) NULL); 23CREATE UNIQUE INDEX i1 ON t2(c1); 24SHOW TABLES; 25 26 27 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 28 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 29CREATE TABLE t2(c1 VARBINARY(50) NULL); 30CREATE UNIQUE INDEX i1 ON t2(c1); 31SHOW TABLES; 32 33 34 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 35 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 36CREATE TABLE t2(c1 CHAR(50) NOT NULL); 37CREATE UNIQUE INDEX i1 ON t2(c1); 38SHOW TABLES; 39 40 41 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 42 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 43CREATE TABLE t2(c1 VARCHAR(50) NOT NULL); 44CREATE UNIQUE INDEX i1 ON t2(c1); 45SHOW TABLES; 46 47 48 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 49 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 50CREATE TABLE t2(c1 BINARY(50) NOT NULL); 51CREATE UNIQUE INDEX i1 ON t2(c1); 52SHOW TABLES; 53 54 55 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 56 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 57CREATE TABLE t2(c1 VARBINARY(50) NOT NULL); 58CREATE UNIQUE INDEX i1 ON t2(c1); 59SHOW TABLES; 60 61 62 --replace_result $ENGINE ENGINE PAGE_CHECKSUM=0 "" 63 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; 64