summaryrefslogtreecommitdiff
path: root/myisam/ft_parser.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-14 16:19:13 +0200
committerunknown <serg@serg.mylan>2003-10-14 16:19:13 +0200
commitf19fff63c246d96dd2014f68506485d8e6f64cd9 (patch)
treea2edbe68efe7bba2d565d91c3815736888388112 /myisam/ft_parser.c
parent2e1115edc1b5899975c33b4367256ce650d3a0f4 (diff)
downloadmariadb-git-f19fff63c246d96dd2014f68506485d8e6f64cd9.tar.gz
"phrase search" should not match partial words (it should not match 'paraphrase searches')
myisam/ft_parser.c: word definition moved to ftdefs.h myisam/ftdefs.h: word definition moved to ftdefs.h
Diffstat (limited to 'myisam/ft_parser.c')
-rw-r--r--myisam/ft_parser.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c
index 14c67333734..57b379cfac0 100644
--- a/myisam/ft_parser.c
+++ b/myisam/ft_parser.c
@@ -73,15 +73,6 @@ FT_WORD * ft_linearize(TREE *wtree)
DBUG_RETURN(wlist);
}
-#define true_word_char(s,X) (my_isalnum(s,X) || (X)=='_')
-#ifdef HYPHEN_IS_DELIM
-#define misc_word_char(X) ((X)=='\'')
-#else
-#define misc_word_char(X) ((X)=='\'' || (X)=='-')
-#endif
-#define word_char(s,X) (true_word_char(s,X) || misc_word_char(X))
-
-
/* returns:
* 0 - eof
* 1 - word found