Debian Codegraph @

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

raw
1 --disable_warnings
2 DROP TABLE IF EXISTS t1;
3 --enable_warnings
4 CREATE TABLE t1(c1 CHAR(10) NULL) COMMENT = 'This table has a CHAR column';
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 t1; DROP TABLE t1; SHOW TABLES;
9 CREATE TABLE t1(c1 VARCHAR(10) NULL) COMMENT = 'This table has a VARCHAR column';
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 t1; DROP TABLE t1; SHOW TABLES;
14 CREATE TABLE t1(c1 BINARY(10) NULL) COMMENT = 'This table has a BINARY column';
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 t1; DROP TABLE t1; SHOW TABLES;
19 CREATE TABLE t1(c1 VARBINARY(10) NULL) COMMENT = 'This table has a VARBINARY column';
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 t1; DROP TABLE t1; SHOW TABLES;
24