2007-02-06 19:07:48 +01:00
|
|
|
##### suite/funcs_1/include/myisam_tb4.inc
|
|
|
|
|
|
|
|
--disable_warnings
|
|
|
|
drop table if exists tb4 ;
|
|
|
|
--enable_warnings
|
|
|
|
create table tb4 (
|
2008-03-31 19:48:02 +02:00
|
|
|
f176 numeric (0) unsigned not null DEFAULT 9,
|
|
|
|
f177 numeric (64) unsigned not null DEFAULT 9,
|
|
|
|
f178 numeric (0) zerofill not null DEFAULT 9,
|
|
|
|
f179 numeric (64) zerofill not null DEFAULT 9,
|
|
|
|
f180 numeric (0) unsigned zerofill not null DEFAULT 9,
|
|
|
|
f181 numeric (64) unsigned zerofill not null DEFAULT 9,
|
|
|
|
f182 numeric (0,0) not null DEFAULT 9,
|
|
|
|
f183 numeric (63,30) not null DEFAULT 9,
|
|
|
|
f184 numeric (0,0) unsigned not null DEFAULT 9,
|
|
|
|
f185 numeric (63,30) unsigned not null DEFAULT 9,
|
|
|
|
f186 numeric (0,0) zerofill not null DEFAULT 9,
|
|
|
|
f187 numeric (63,30) zerofill not null DEFAULT 9,
|
|
|
|
f188 numeric (0,0) unsigned zerofill not null DEFAULT 9,
|
|
|
|
f189 numeric (63,30) unsigned zerofill not null DEFAULT 9,
|
|
|
|
f190 real not null DEFAULT 88.8,
|
|
|
|
f191 real unsigned not null DEFAULT 88.8,
|
|
|
|
f192 real zerofill not null DEFAULT 88.8,
|
|
|
|
f193 real unsigned zerofill not null DEFAULT 88.8,
|
|
|
|
f194 double not null DEFAULT 55.5,
|
|
|
|
f195 double unsigned not null DEFAULT 55.5,
|
|
|
|
f196 double zerofill not null DEFAULT 55.5,
|
|
|
|
f197 double unsigned zerofill not null DEFAULT 55.5,
|
|
|
|
f198 float,
|
|
|
|
f199 float unsigned,
|
|
|
|
f200 float zerofill,
|
|
|
|
f201 float unsigned zerofill,
|
|
|
|
f202 float(0),
|
|
|
|
f203 float(23),
|
|
|
|
f204 float(0) unsigned,
|
|
|
|
f205 float(23) unsigned,
|
|
|
|
f206 float(0) zerofill,
|
|
|
|
f207 float(23) zerofill,
|
|
|
|
f208 float(0) unsigned zerofill,
|
|
|
|
f209 float(23) unsigned zerofill,
|
|
|
|
f210 float(24),
|
|
|
|
f211 float(53),
|
|
|
|
f212 float(24) unsigned,
|
|
|
|
f213 float(53) unsigned,
|
|
|
|
f214 float(24) zerofill,
|
|
|
|
f215 float(53) zerofill,
|
|
|
|
f216 float(24) unsigned zerofill,
|
|
|
|
f217 float(53) unsigned zerofill,
|
|
|
|
f218 date,
|
|
|
|
f219 time,
|
|
|
|
f220 datetime,
|
2015-09-22 12:01:54 +02:00
|
|
|
f221 timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
2008-03-31 19:48:02 +02:00
|
|
|
f222 year,
|
|
|
|
f223 year(3),
|
|
|
|
f224 year(4),
|
|
|
|
f225 enum("1enum","2enum"),
|
|
|
|
f226 set("1set","2set"),
|
|
|
|
f227 VARBINARY(64),
|
|
|
|
f228 VARBINARY(27),
|
|
|
|
f229 VARBINARY(64),
|
|
|
|
f230 VARBINARY(192),
|
|
|
|
f231 VARBINARY(192),
|
|
|
|
f232 VARBINARY(27),
|
|
|
|
f233 VARBINARY(64),
|
2007-02-06 19:07:48 +01:00
|
|
|
f234 VARBINARY(192),
|
2008-06-16 20:39:58 +02:00
|
|
|
f235 char(255),
|
2007-02-06 19:07:48 +01:00
|
|
|
f236 char(60) ascii,
|
|
|
|
f237 char(255) binary,
|
|
|
|
f238 varchar(0) binary,
|
|
|
|
f239 varbinary(1000),
|
2008-06-16 20:39:58 +02:00
|
|
|
f240 varchar(120),
|
|
|
|
f241 char(100),
|
2007-02-06 19:07:48 +01:00
|
|
|
f242 bit(30)
|
|
|
|
) engine = myisam;
|
|
|
|
|
|
|
|
# The original columns. They are replaced by varbinary, because the funcs_1 tests should
|
|
|
|
# not depend on the optional availability of the geometry feature.
|
2008-03-31 19:48:02 +02:00
|
|
|
# f227 geometry,
|
|
|
|
# f228 point,
|
|
|
|
# f229 linestring,
|
|
|
|
# f230 polygon,
|
|
|
|
# f231 geometrycollection,
|
|
|
|
# f232 multipoint,
|
|
|
|
# f233 multilinestring,
|
2007-02-06 19:07:48 +01:00
|
|
|
# f234 multipolygon,
|
|
|
|
|
2008-03-31 19:48:02 +02:00
|
|
|
--replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
|
|
|
|
eval
|
2009-01-31 20:22:59 +01:00
|
|
|
load data infile '$MYSQLTEST_VARDIR/std_data/funcs_1/myisam_tb4.txt'
|
2008-03-31 19:48:02 +02:00
|
|
|
into table tb4;
|