MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
myisam_tb1.inc
1 ##### suite/funcs_1/include/myisam_tb1.inc
2 
3 --disable_warnings
4 drop table if exists tb1 ;
5 --enable_warnings
6 create table tb1 (
7 f1 char,
8 f2 char binary,
9 f3 char ascii,
10 f4 tinytext,
11 f5 text,
12 f6 mediumtext,
13 f7 longtext,
14 f8 tinyblob,
15 f9 blob,
16 f10 mediumblob,
17 f11 longblob,
18 f12 binary,
19 f13 tinyint,
20 f14 tinyint unsigned,
21 f15 tinyint zerofill,
22 f16 tinyint unsigned zerofill,
23 f17 smallint,
24 f18 smallint unsigned,
25 f19 smallint zerofill,
26 f20 smallint unsigned zerofill,
27 f21 mediumint,
28 f22 mediumint unsigned,
29 f23 mediumint zerofill,
30 f24 mediumint unsigned zerofill,
31 f25 int,
32 f26 int unsigned,
33 f27 int zerofill,
34 f28 int unsigned zerofill,
35 f29 bigint,
36 f30 bigint unsigned,
37 f31 bigint zerofill,
38 f32 bigint unsigned zerofill,
39 f33 decimal not null DEFAULT 9.9,
40 f34 decimal unsigned not null DEFAULT 9.9,
41 f35 decimal zerofill not null DEFAULT 9.9,
42 f36 decimal unsigned zerofill not null DEFAULT 9.9,
43 f37 decimal (0) not null DEFAULT 9.9,
44 f38 decimal (64) not null DEFAULT 9.9,
45 f39 decimal (0) unsigned not null DEFAULT 9.9,
46 f40 decimal (64) unsigned not null DEFAULT 9.9,
47 f41 decimal (0) zerofill not null DEFAULT 9.9,
48 f42 decimal (64) zerofill not null DEFAULT 9.9,
49 f43 decimal (0) unsigned zerofill not null DEFAULT 9.9,
50 f44 decimal (64) unsigned zerofill not null DEFAULT 9.9,
51 f45 decimal (0,0) not null DEFAULT 9.9,
52 f46 decimal (63,30) not null DEFAULT 9.9,
53 f47 decimal (0,0) unsigned not null DEFAULT 9.9,
54 f48 decimal (63,30) unsigned not null DEFAULT 9.9,
55 f49 decimal (0,0) zerofill not null DEFAULT 9.9,
56 f50 decimal (63,30) zerofill not null DEFAULT 9.9,
57 f51 decimal (0,0) unsigned zerofill not null DEFAULT 9.9,
58 f52 decimal (63,30) unsigned zerofill not null DEFAULT 9.9,
59 f53 numeric not null DEFAULT 99,
60 f54 numeric unsigned not null DEFAULT 99,
61 f55 numeric zerofill not null DEFAULT 99,
62 f56 numeric unsigned zerofill not null DEFAULT 99,
63 f57 numeric (0) not null DEFAULT 99,
64 f58 numeric (64) not null DEFAULT 99
65 ) engine = myisam;
66 
67 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
68 eval
69 load data infile '$MYSQLTEST_VARDIR/std_data/funcs_1/myisam_tb1.txt'
70 into table tb1;