diff options
author | unknown <serg@serg.mylan> | 2003-12-04 21:58:28 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-12-04 21:58:28 +0100 |
commit | 6a38e8299538296b5a207328b01b46dfb197e35d (patch) | |
tree | f52b83374a1d65b18565fed5c9f35dfcee9e3fb9 /myisam/ft_static.c | |
parent | 649b9f4289e01c352af4d1bd4361d9846bc1d078 (diff) | |
download | mariadb-git-6a38e8299538296b5a207328b01b46dfb197e35d.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.c | 4 |
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 */ |