mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / engines / funcs / t / tc_column_enum.test
blob9ca98c3b2a95fa5f0fdef6f72261db6a55121f8f
1 --disable_warnings
2 DROP TABLE IF EXISTS t6;
3 --enable_warnings
4 CREATE TABLE t6(c1 ENUM('a','b','c') 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 ENUM('a','b','c') NOT 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;