Debian Codegraph @

mysql-test/suite/engines/funcs/t/tc_column_length_zero.test

raw
1 --disable_warnings
2 DROP TABLE IF EXISTS t6;
3 --enable_warnings
4 CREATE TABLE t6(c1 CHAR(0) NULL);
5 SHOW TABLES;
6 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
7 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
8 SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES;
9 CREATE TABLE t6(c1 VARCHAR(0) NULL);
10 SHOW TABLES;
11 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
12 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
13 SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES;
14 CREATE TABLE t6(c1 CHAR(0) NOT NULL);
15 SHOW TABLES;
16 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
17 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
18 SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES;
19 CREATE TABLE t6(c1 VARCHAR(0) NOT NULL);
20 SHOW TABLES;
21 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
22 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
23 SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES;
24