summaryrefslogtreecommitdiff
path: root/myisam/ft_parser.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2001-04-17 21:30:02 +0200
committerserg@serg.mysql.com <>2001-04-17 21:30:02 +0200
commit185c2beaea68c4f267e3285022a5a30e34d41adb (patch)
tree6c294f797e941fcb6156771d2a0f0dd4393d06bb /myisam/ft_parser.c
parentf751ab1a9ad87e9df09554dc636abc521432c34f (diff)
downloadmariadb-git-185c2beaea68c4f267e3285022a5a30e34d41adb.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;