diff options
author | Sergey Vojtovich <svoj@mysql.com> | 2008-11-28 18:17:13 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mysql.com> | 2008-11-28 18:17:13 +0400 |
commit | 85d4cbae24d0a6d86911a1845d0c3fe24f48c36e (patch) | |
tree | 7afb52b057d40a73647953f863304c5b5c8e4ff1 /mysql-test/t/fulltext.test | |
parent | 17cd69ccf40824c89d4f3cdb0190006d81bbbcb0 (diff) | |
download | mariadb-git-85d4cbae24d0a6d86911a1845d0c3fe24f48c36e.tar.gz |
BUG#37245 - Full text search problem
Certain boolean mode queries with truncation operator did
not return matching records and calculate relevancy
incorrectly.
Diffstat (limited to 'mysql-test/t/fulltext.test')
-rw-r--r-- | mysql-test/t/fulltext.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index fa087d89efb..77d84c730d9 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -423,3 +423,12 @@ EXPLAIN SELECT * FROM t1 FORCE INDEX(b) WHERE MATCH(a) AGAINST('test' IN BOOLEAN MODE) AND b=1; DROP TABLE t1; + +# +# BUG#37245 - Full text search problem +# +CREATE TABLE t1(a CHAR(10)); +INSERT INTO t1 VALUES('aaa15'); +SELECT MATCH(a) AGAINST('aaa1* aaa14 aaa16' IN BOOLEAN MODE) FROM t1; +SELECT MATCH(a) AGAINST('aaa1* aaa14 aaa15 aaa16' IN BOOLEAN MODE) FROM t1; +DROP TABLE t1; |