summaryrefslogtreecommitdiff
path: root/myisam/ft_static.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-12-04 21:58:28 +0100
committerunknown <serg@serg.mylan>2003-12-04 21:58:28 +0100
commitb66c016f130934a8ee5a82b572bc46c93ad1f3e7 (patch)
treef52b83374a1d65b18565fed5c9f35dfcee9e3fb9 /myisam/ft_static.c
parentcebe1c0eee300a00e0f35d7782d23383ffb025de (diff)
downloadmariadb-git-b66c016f130934a8ee5a82b572bc46c93ad1f3e7.tar.gz
make a clear distinction between max_word_length in *characters* and in *bytes*
Diffstat (limited to 'myisam/ft_static.c')
-rw-r--r--myisam/ft_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/ft_static.c b/myisam/ft_static.c
index cf4f3d6a02a..0dcea5bec0c 100644
--- a/myisam/ft_static.c
+++ b/myisam/ft_static.c
@@ -19,7 +19,7 @@
#include "ftdefs.h"
ulong ft_min_word_len=4;
-ulong ft_max_word_len=HA_FT_MAXLEN;
+ulong ft_max_word_len=HA_FT_MAXCHARLEN;
ulong ft_query_expansion_limit=5;
const char *ft_boolean_syntax="+ -><()~*:\"\"&|";
@@ -29,7 +29,7 @@ const HA_KEYSEG ft_keysegs[FT_SEGS]={
63, /* language (will be overwritten) */
0, 0, 0, /* null_bit, bit_start, bit_end */
HA_VAR_LENGTH | HA_PACK_KEY, /* flag */
- HA_FT_MAXLEN, /* length */
+ HA_FT_MAXBYTELEN, /* length */
HA_FT_WLEN, /* start */
0, /* null_pos */
NULL /* charset */