Debian Codegraph @

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

raw
1 --disable_warnings
2 DROP TABLE IF EXISTS t11;
3 --enable_warnings
4 CREATE TABLE t11(c1 TINYINT(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
9 CREATE TABLE t11(c1 SMALLINT(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
14 CREATE TABLE t11(c1 MEDIUMINT(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
19 CREATE TABLE t11(c1 INT(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
24 CREATE TABLE t11(c1 INTEGER(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
29 CREATE TABLE t11(c1 BIGINT(5) NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
34 CREATE TABLE t11(c1 TINYINT(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
39 CREATE TABLE t11(c1 SMALLINT(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
44 CREATE TABLE t11(c1 MEDIUMINT(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
49 CREATE TABLE t11(c1 INT(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
54 CREATE TABLE t11(c1 INTEGER(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
59 CREATE TABLE t11(c1 BIGINT(5) NOT NULL DEFAULT 1);
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 t11; DROP TABLE t11; SHOW TABLES;
64