From f19fff63c246d96dd2014f68506485d8e6f64cd9 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 14 Oct 2003 16:19:13 +0200 Subject: "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 --- myisam/ft_parser.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'myisam/ft_parser.c') 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 -- cgit v1.2.1