summaryrefslogtreecommitdiff
path: root/myisam/ft_parser.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2001-04-17 21:30:02 +0200
committerunknown <serg@serg.mysql.com>2001-04-17 21:30:02 +0200
commit17ef8ef4443598265bca23d86d04fcc275da7804 (patch)
tree6c294f797e941fcb6156771d2a0f0dd4393d06bb /myisam/ft_parser.c
parent09f0384e7abce9d9cb744d0a20b897b5a77ef747 (diff)
downloadmariadb-git-17ef8ef4443598265bca23d86d04fcc275da7804.tar.gz
ft_* variables added
Diffstat (limited to 'myisam/ft_parser.c')
-rw-r--r--myisam/ft_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c
index 09c93d7dc5b..d156c8c5556 100644
--- a/myisam/ft_parser.c
+++ b/myisam/ft_parser.c
@@ -164,7 +164,7 @@ byte ft_get_word(byte **start, byte *end, FT_WORD *word, FTB_PARAM *param)
if ((param->trunc=(doc<end && *doc == FTB_TRUNC)))
doc++;
- if (word->len >= MIN_WORD_LEN && word->len < MAX_WORD_LEN &&
+ if (word->len >= ft_min_word_len && word->len < ft_max_word_len &&
!is_stopword(word->pos, word->len))
{
*start=doc;
@@ -195,7 +195,7 @@ byte ft_simple_get_word(byte **start, byte *end, FT_WORD *word)
word->len= (uint)(doc-word->pos) - mwc;
- if (word->len >= MIN_WORD_LEN && word->len < MAX_WORD_LEN &&
+ if (word->len >= ft_min_word_len && word->len < ft_max_word_len &&
!is_stopword(word->pos, word->len))
{
*start=doc;