mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed that storage/funcs tests works with Aria
Problem was that SHOW CREATE didn't remove PAGE_CHECKSUM=1
This commit is contained in:
@@ -4,81 +4,81 @@ DROP TABLE IF EXISTS t2;
|
||||
CREATE TABLE t2(c1 CHAR(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 MODIFY c1 CHAR(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 VARCHAR(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 MODIFY c1 VARCHAR(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 BINARY(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 MODIFY c1 BINARY(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 VARBINARY(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 MODIFY c1 VARBINARY(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 CHAR(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 CHANGE c1 c1 CHAR(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 VARCHAR(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 CHANGE c1 c1 VARCHAR(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 BINARY(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 CHANGE c1 c1 BINARY(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
CREATE TABLE t2(c1 VARBINARY(200) NOT NULL);
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2;
|
||||
ALTER TABLE t2 CHANGE c1 c1 VARBINARY(200) NULL;
|
||||
SHOW TABLES;
|
||||
let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" ""
|
||||
--replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
|
||||
SHOW CREATE TABLE t2; DROP TABLE t2; SHOW TABLES;
|
||||
|
||||
|
Reference in New Issue
Block a user