summaryrefslogtreecommitdiff
path: root/mysql-test/r/fulltext.result
diff options
context:
space:
mode:
authorsvoj@mysql.com/april.(none) <>2007-07-13 03:25:27 +0500
committersvoj@mysql.com/april.(none) <>2007-07-13 03:25:27 +0500
commite11d75e45b8b3ea60c140d025811a6ba575c1fe1 (patch)
tree8b756f4a33c9a0e00ed02b2c4753aab9d9b2879f /mysql-test/r/fulltext.result
parent859304f70828475730745c2bcbfb90a1a6224456 (diff)
downloadmariadb-git-e11d75e45b8b3ea60c140d025811a6ba575c1fe1.tar.gz
BUG#29445 - match ... against () never returns
Part 2: Searching fulltext index for a word with boolean mode truncation operator may cause infinite loop. The problem was that "smarter index merge" was used with "trunc-words", which must never happen. Affects 5.1 only.
Diffstat (limited to 'mysql-test/r/fulltext.result')
-rw-r--r--mysql-test/r/fulltext.result5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/r/fulltext.result b/mysql-test/r/fulltext.result
index 02b115cb6dc..a649f70b6f2 100644
--- a/mysql-test/r/fulltext.result
+++ b/mysql-test/r/fulltext.result
@@ -485,7 +485,10 @@ INSERT INTO t1 VALUES('Offside'),('City Of God');
SELECT a FROM t1 WHERE MATCH a AGAINST ('+city of*' IN BOOLEAN MODE);
a
City Of God
-SELECT a FROM t1 WHERE MATCH a AGAINST ('+city (of)*' IN BOOLEAN MODE);
+SELECT a FROM t1 WHERE MATCH a AGAINST ('+city (of*)' IN BOOLEAN MODE);
+a
+City Of God
+SELECT a FROM t1 WHERE MATCH a AGAINST ('+city* of*' IN BOOLEAN MODE);
a
City Of God
DROP TABLE t1;