Debian Codegraph @

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

raw
1 --disable_warnings
2 DROP TABLE IF EXISTS t1;
3 --enable_warnings
4 CREATE TABLE t1(c1 BIT NULL) COMMENT = 'This table has a BIT 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 TINYINT NULL) COMMENT = 'This table has a TINYINT 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 SMALLINT NULL) COMMENT = 'This table has a SMALLINT 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 MEDIUMINT NULL) COMMENT = 'This table has a MEDIUMINT 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 CREATE TABLE t1(c1 INT NULL) COMMENT = 'This table has a INT column';
25 SHOW TABLES;
26 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
27 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
28 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
29 CREATE TABLE t1(c1 INTEGER NULL) COMMENT = 'This table has a INTEGER column';
30 SHOW TABLES;
31 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
32 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
33 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
34 CREATE TABLE t1(c1 BIGINT NULL) COMMENT = 'This table has a BIGINT column';
35 SHOW TABLES;
36 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
37 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
38 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
39 CREATE TABLE t1(c1 REAL NULL) COMMENT = 'This table has a REAL column';
40 SHOW TABLES;
41 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
42 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
43 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
44 CREATE TABLE t1(c1 DOUBLE NULL) COMMENT = 'This table has a DOUBLE column';
45 SHOW TABLES;
46 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
47 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
48 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
49 CREATE TABLE t1(c1 FLOAT NULL) COMMENT = 'This table has a FLOAT column';
50 SHOW TABLES;
51 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
52 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
53 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
54 CREATE TABLE t1(c1 DECIMAL NULL) COMMENT = 'This table has a DECIMAL column';
55 SHOW TABLES;
56 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
57 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
58 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
59 CREATE TABLE t1(c1 NUMERIC NULL) COMMENT = 'This table has a NUMERIC column';
60 SHOW TABLES;
61 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
62 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
63 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
64 CREATE TABLE t1(c1 DATE NULL) COMMENT = 'This table has a DATE column';
65 SHOW TABLES;
66 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
67 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
68 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
69 CREATE TABLE t1(c1 TIME NULL) COMMENT = 'This table has a TIME column';
70 SHOW TABLES;
71 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
72 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
73 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
74 CREATE TABLE t1(c1 DATETIME NULL) COMMENT = 'This table has a DATETIME column';
75 SHOW TABLES;
76 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
77 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
78 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
79 CREATE TABLE t1(c1 TIMESTAMP NULL) COMMENT = 'This table has a TIMESTAMP column';
80 SHOW TABLES;
81 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
82 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
83 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
84 CREATE TABLE t1(c1 YEAR NULL) COMMENT = 'This table has a YEAR column';
85 SHOW TABLES;
86 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
87 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
88 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
89 CREATE TABLE t1(c1 TINYBLOB NULL) COMMENT = 'This table has a TINYBLOB column';
90 SHOW TABLES;
91 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
92 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
93 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
94 CREATE TABLE t1(c1 BLOB NULL) COMMENT = 'This table has a BLOB column';
95 SHOW TABLES;
96 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
97 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
98 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
99 CREATE TABLE t1(c1 MEDIUMBLOB NULL) COMMENT = 'This table has a MEDIUMBLOB column';
100 SHOW TABLES;
101 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
102 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
103 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
104 CREATE TABLE t1(c1 LONGBLOB NULL) COMMENT = 'This table has a LONGBLOB column';
105 SHOW TABLES;
106 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
107 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
108 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
109 CREATE TABLE t1(c1 TINYTEXT NULL) COMMENT = 'This table has a TINYTEXT column';
110 SHOW TABLES;
111 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
112 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
113 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
114 CREATE TABLE t1(c1 TEXT NULL) COMMENT = 'This table has a TEXT column';
115 SHOW TABLES;
116 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
117 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
118 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
119 CREATE TABLE t1(c1 MEDIUMTEXT NULL) COMMENT = 'This table has a MEDIUMTEXT column';
120 SHOW TABLES;
121 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
122 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
123 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
124 CREATE TABLE t1(c1 LONGTEXT NULL) COMMENT = 'This table has a LONGTEXT column';
125 SHOW TABLES;
126 let $ENGINE=`select variable_value from information_schema.global_variables where variable_name='STORAGE_ENGINE'`;
127 --replace_result $ENGINE ENGINE " PAGE_CHECKSUM=0" "" " PAGE_CHECKSUM=1" ""
128 SHOW CREATE TABLE t1; DROP TABLE t1; SHOW TABLES;
129