| 1 |
--disable_warnings |
| 2 |
let $ENGINE=`select variable_value from performance_schema.global_variables where variable_name='DEFAULT_STORAGE_ENGINE'`; |
| 3 |
--enable_warnings |
| 4 |
|
| 5 |
--disable_warnings |
| 6 |
DROP TABLE IF EXISTS t1,t2; |
| 7 |
--enable_warnings |
| 8 |
CREATE TABLE t1(c1 INTEGER NULL); |
| 9 |
SHOW TABLES; |
| 10 |
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" |
| 11 |
SHOW CREATE TABLE t1; |
| 12 |
RENAME TABLE t1 TO t2; |
| 13 |
SHOW TABLES; |
| 14 |
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" |
| 15 |
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES; |