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 t1,t2;
7--enable_warnings
8CREATE TABLE t1(c1 INTEGER NULL);
9SHOW TABLES;
10--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
11 SHOW CREATE TABLE t1;
12RENAME TABLE t1 TO t2;
13SHOW TABLES;
14--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
15 SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
16