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:
11
build-tags
Executable file
11
build-tags
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
if [ ! -f configure.in ] ; then
|
||||||
|
echo "$0 must be run from MySQL source root"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f TAGS
|
||||||
|
find -not -path \*SCCS\* -and \
|
||||||
|
\( -name \*.cc -or -name \*.h -or -name \*.yy -or -name \*.c \) \
|
||||||
|
-print -exec etags -o TAGS --append {} \;
|
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