diff options
author | unknown <jimw@mysql.com> | 2005-06-17 21:44:17 +0200 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-06-17 21:44:17 +0200 |
commit | 61b2a6b08312555eb2800a27d982edc13d5f0e86 (patch) | |
tree | ad6efdce69deb802627c189485df5498a88a437c /mysql-test/t/fulltext.test | |
parent | 6de6d3ad5cc34a53735b0b12ca80846d50537f62 (diff) | |
download | mariadb-git-61b2a6b08312555eb2800a27d982edc13d5f0e86.tar.gz |
Fix hang/crash with Boolean full-text search against an unindexed field for
which the query contained more words than we allocated space. (Bug #7858)
myisam/ft_boolean_search.c:
Fix calculation of max number of elements -- "words" may not have spaces
between them.
mysql-test/t/fulltext.test:
Modify test to be specific to reported bug (fix for old bug wasn't quite enough)
mysql-test/r/fulltext.result:
Update results
Diffstat (limited to 'mysql-test/t/fulltext.test')
-rw-r--r-- | mysql-test/t/fulltext.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index 4809f6f0357..d5493daf63e 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -253,9 +253,9 @@ insert into t2 values (3, 1, 'xxbuz'); select * from t1 join t2 using(`t1_id`) where match (t1.name, t2.name) against('xxfoo' in boolean mode); # -# bug with many short (< ft_min_word_len) words in boolean search +# Bug #7858: bug with many short (< ft_min_word_len) words in boolean search # -select * from t2 where match name against ('a* b* c* d* e* f*' in boolean mode); +select * from t2 where match name against ('*a*b*c*d*e*f*' in boolean mode); drop table t1,t2; # |