mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / engines / funcs / t / tc_column_length_zero.test
blob4ab9d41deb348f1f1140b517faa1807784a562a2
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" ""
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" ""
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" ""
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" ""
23 SHOW CREATE TABLE t6; DROP TABLE t6; SHOW TABLES;