diff options
author | svoj@mysql.com/june.mysql.com <> | 2007-10-30 14:46:43 +0400 |
---|---|---|
committer | svoj@mysql.com/june.mysql.com <> | 2007-10-30 14:46:43 +0400 |
commit | cbd3dfbbcb85ffd4c3aecbf238857e9dc0a95be8 (patch) | |
tree | 4bece81268f470eec4fb2213e8f90bfdca3fc13a /mysql-test/r/fulltext.result | |
parent | 0253d7875d592996b2234d211fa0d34bc7d494f8 (diff) | |
download | mariadb-git-cbd3dfbbcb85ffd4c3aecbf238857e9dc0a95be8.tar.gz |
BUG#11392 - fulltext search bug
Fulltext boolean mode phrase search may crash server on platforms
where size of pointer is not equal to size of unsigned integer
(in other words some 64-bit platforms).
The problem was integer overflow.
Affects 4.1 only.
Diffstat (limited to 'mysql-test/r/fulltext.result')
-rw-r--r-- | mysql-test/r/fulltext.result | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/r/fulltext.result b/mysql-test/r/fulltext.result index 3700ace4b19..af41adf3a24 100644 --- a/mysql-test/r/fulltext.result +++ b/mysql-test/r/fulltext.result @@ -454,3 +454,9 @@ ALTER TABLE t1 DISABLE KEYS; SELECT * FROM t1 WHERE MATCH(a) AGAINST('test'); ERROR HY000: Can't find FULLTEXT index matching the column list DROP TABLE t1; +CREATE TABLE t1(a TEXT); +INSERT INTO t1 VALUES(' aaaaa aaaa'); +SELECT * FROM t1 WHERE MATCH(a) AGAINST ('"aaaa"' IN BOOLEAN MODE); +a + aaaaa aaaa +DROP TABLE t1; |