diff options
author | serg@serg.mylan <> | 2004-04-30 19:17:55 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2004-04-30 19:17:55 +0200 |
commit | b11cf7c89c6b7a4b3c5f04b8cf16905dfca0be09 (patch) | |
tree | f73f0008599dc98ca8836406cb7435a618e00ca3 /myisam | |
parent | 535a0ec94d6c99116552dcd133092926b69aca31 (diff) | |
download | mariadb-git-b11cf7c89c6b7a4b3c5f04b8cf16905dfca0be09.tar.gz |
--ft-stopword-file option for myisamchk
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/myisamchk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c index 691e3855c73..3df42fb4da7 100644 --- a/myisam/myisamchk.c +++ b/myisam/myisamchk.c @@ -149,7 +149,7 @@ enum options_mc { OPT_CORRECT_CHECKSUM, OPT_KEY_BUFFER_SIZE, OPT_MYISAM_BLOCK_SIZE, OPT_READ_BUFFER_SIZE, OPT_WRITE_BUFFER_SIZE, OPT_SORT_BUFFER_SIZE, OPT_SORT_KEY_BLOCKS, OPT_DECODE_BITS, OPT_FT_MIN_WORD_LEN, - OPT_FT_MAX_WORD_LEN, OPT_FT_MAX_WORD_LEN_FOR_SORT + OPT_FT_MAX_WORD_LEN, OPT_FT_MAX_WORD_LEN_FOR_SORT, OPT_FT_STOPWORD_FILE }; static struct my_option my_long_options[] = @@ -315,6 +315,10 @@ static struct my_option my_long_options[] = { "ft_max_word_len_for_sort", OPT_FT_MAX_WORD_LEN_FOR_SORT, "", (gptr*) &ft_max_word_len_for_sort, (gptr*) &ft_max_word_len_for_sort, 0, GET_ULONG, REQUIRED_ARG, 20, 4, HA_FT_MAXLEN, 0, 1, 0}, + { "ft_stopword_file", OPT_FT_STOPWORD_FILE, + "Use stopwords from this file instead of built-in list.", + (gptr*) &ft_stopword_file, (gptr*) &ft_stopword_file, 0, GET_STR, + REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} }; |