mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fulltext.test, fulltext.result:
Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance(). mysql-test/r/fulltext.result: Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance(). mysql-test/t/fulltext.test: Test case for bug#8522, to test for out of bounds memory access in ft_nlq_find_relevance().
This commit is contained in:
@ -315,3 +315,9 @@ select count(*) from t1;
|
||||
count(*)
|
||||
1
|
||||
drop table t1;
|
||||
CREATE TABLE t1 ( a TEXT, FULLTEXT (a) );
|
||||
INSERT INTO t1 VALUES ('testing ft_nlq_find_relevance');
|
||||
SELECT MATCH(a) AGAINST ('nosuchword') FROM t1;
|
||||
MATCH(a) AGAINST ('nosuchword')
|
||||
0
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user