mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added build-tags
added test case that supposedly will crash mysqld built with 2.96
This commit is contained in:
5
mysql-test/r/gcc296.result
Normal file
5
mysql-test/r/gcc296.result
Normal file
@ -0,0 +1,5 @@
|
||||
kodoboru obor aobor
|
||||
0101000000 aaa AAA
|
||||
0102000000 bbb BBB
|
||||
0103000000 ccc CCC
|
||||
0104000000 xxx XXX
|
17
mysql-test/t/gcc296.test
Normal file
17
mysql-test/t/gcc296.test
Normal file
@ -0,0 +1,17 @@
|
||||
#try to crash gcc 2.96
|
||||
drop table if exists obory;
|
||||
CREATE TABLE obory (
|
||||
kodoboru varchar(10) default NULL,
|
||||
obor tinytext,
|
||||
aobor tinytext,
|
||||
UNIQUE INDEX kodoboru (kodoboru),
|
||||
FULLTEXT KEY obor (obor),
|
||||
FULLTEXT KEY aobor (aobor)
|
||||
);
|
||||
INSERT INTO obory VALUES ('0101000000','aaa','AAA');
|
||||
INSERT INTO obory VALUES ('0102000000','bbb','BBB');
|
||||
INSERT INTO obory VALUES ('0103000000','ccc','CCC');
|
||||
INSERT INTO obory VALUES ('0104000000','xxx','XXX');
|
||||
|
||||
select * from obory;
|
||||
drop table obory;
|
Reference in New Issue
Block a user