mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
28f9704737
Bug#37167 funcs_1: Many tests fail if the embedded server is used. Bug#37164 funcs_1: Some tests fail if an optional character set is missing. + some cleanup within the testsuite related to the fixes above + some adjustments to open bugs on Mac OS X Details: - Remove the initial loading of data from tests if these data are not somewhere retrieved - Remove any use of columns with attribute unicode (-> UCS2 is no more needed) from tests where unicode properties are not checked or somehow required - Create a separate branch of the Character maximum length test (CML). If UCS2 is available than this test gets applied to every available type of string column with attribute unicode This prevents any loss of coverage by the points above. - Disable the execution of is_tables_ndb which gives wrong results because of a bug. Correct the exepected results of this test. - In case of tests failing when applied to the embedded server 1) Create a variant of this test for the embedded server or 2) Skip the test in case of embedded server depending on purpose and complexity of test. - Skip the tests which could suffer from Bug 28309 First insert violates unique constraint - was "memory" table empty ? Bug 37380 Test funcs_1.is_columns_myisam_embedded fails on OS X (both bugs Mac OS X, embedded server, MySQL 5.0 only) - Minor improvements like remove typos
69 lines
2 KiB
C++
69 lines
2 KiB
C++
##### suite/funcs_1/include/memory_tb4.inc
|
|
|
|
--disable_warnings
|
|
drop table if exists tb4 ;
|
|
--enable_warnings
|
|
create table tb4 (
|
|
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,
|
|
f221 timestamp,
|
|
f222 year,
|
|
f223 year(3),
|
|
f224 year(4),
|
|
f225 enum("1enum","2enum"),
|
|
f226 set("1set","2set"),
|
|
f236 char(95),
|
|
f241 char(255),
|
|
f237 char(130) binary,
|
|
f238 varchar(25000) binary,
|
|
f239 varbinary(0),
|
|
f240 varchar(1200)
|
|
) engine = memory;
|
|
|
|
--replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
|
|
eval
|
|
load data infile '$MYSQLTEST_VARDIR/std_data_ln/funcs_1/memory_tb4.txt'
|
|
into table tb4;
|