diff options
author | unknown <serg@serg.mylan> | 2006-02-14 13:19:54 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2006-02-14 13:19:54 +0100 |
commit | 4f4f20d4e096e1bd492e015946e9c2bd90e53252 (patch) | |
tree | 9b5fccd0dee8948ca8e2fc3a5dc33fd27cb4c517 /mysql-test/t/fulltext.test | |
parent | 3649a68fab9132828125e9b1107cfc7fb4201699 (diff) | |
download | mariadb-git-4f4f20d4e096e1bd492e015946e9c2bd90e53252.tar.gz |
MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE)
remove explicit $<ulong_num>$ from sql_yacc.yy
mysql-test/r/fulltext.result:
MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE)
mysql-test/t/fulltext.test:
MATCH(a,b) AGAINST (... IN NATURAL LANGUAGE MODE)
Diffstat (limited to 'mysql-test/t/fulltext.test')
-rw-r--r-- | mysql-test/t/fulltext.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/fulltext.test b/mysql-test/t/fulltext.test index 590a7dc495b..7b7ed2c1707 100644 --- a/mysql-test/t/fulltext.test +++ b/mysql-test/t/fulltext.test @@ -28,6 +28,12 @@ select * from t1 where MATCH(a,b) AGAINST ("collections" WITH QUERY EXPANSION); select * from t1 where MATCH(a,b) AGAINST ("indexes" WITH QUERY EXPANSION); select * from t1 where MATCH(a,b) AGAINST ("indexes collections" WITH QUERY EXPANSION); +# IN NATURAL LANGUAGE MODE +select * from t1 where MATCH(a,b) AGAINST ("indexes" IN NATURAL LANGUAGE MODE); +select * from t1 where MATCH(a,b) AGAINST ("indexes" IN NATURAL LANGUAGE MODE WITH QUERY EXPANSION); +--error 1064 +select * from t1 where MATCH(a,b) AGAINST ("indexes" IN BOOLEAN MODE WITH QUERY EXPANSION); + # add_ft_keys() tests explain select * from t1 where MATCH(a,b) AGAINST ("collections"); |