Commit e5731104 authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

added build-tags

added test case that supposedly will crash mysqld built with 2.96
parent 4b513347
Loading
Loading
Loading
Loading

build-tags

0 → 100755
+11 −0
Original line number Diff line number Diff line
#! /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 −0
Original line number Diff line number Diff line
kodoboru	obor	aobor
0101000000	aaa	AAA
0102000000	bbb	BBB
0103000000	ccc	CCC
0104000000	xxx	XXX
+17 −0
Original line number Diff line number Diff line
#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;