30
32
SET_STACK_SIZE(9000) /* Minimum stack size for program */
33
34
#define my_raid_create(A,B,C,D,E,F,G) my_create(A,B,C,G)
34
35
#define my_raid_delete(A,B,C) my_delete(A,B)
37
#include "myisamdef.h"
37
39
static uint decode_bits;
38
40
static char **default_argv;
42
44
static long opt_myisam_block_size;
43
45
static long opt_key_cache_block_size;
44
46
static const char *my_progname_short;
45
static int stopwords_inited= 0;
46
47
static MY_TMPDIR myisamchk_tmpdir;
48
49
static const char *type_names[]=
319
319
BUFFERS_WHEN_SORTING, 4L, 100L, 0L, 1L, 0},
320
320
{ "decode_bits", OPT_DECODE_BITS, "", (uchar**) &decode_bits,
321
321
(uchar**) &decode_bits, 0, GET_UINT, REQUIRED_ARG, 9L, 4L, 17L, 0L, 1L, 0},
322
{ "ft_min_word_len", OPT_FT_MIN_WORD_LEN, "", (uchar**) &ft_min_word_len,
323
(uchar**) &ft_min_word_len, 0, GET_ULONG, REQUIRED_ARG, 4, 1, HA_FT_MAXCHARLEN,
325
{ "ft_max_word_len", OPT_FT_MAX_WORD_LEN, "", (uchar**) &ft_max_word_len,
326
(uchar**) &ft_max_word_len, 0, GET_ULONG, REQUIRED_ARG, HA_FT_MAXCHARLEN, 10,
327
HA_FT_MAXCHARLEN, 0, 1, 0},
328
{ "ft_stopword_file", OPT_FT_STOPWORD_FILE,
329
"Use stopwords from this file instead of built-in list.",
330
(uchar**) &ft_stopword_file, (uchar**) &ft_stopword_file, 0, GET_STR,
331
REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
332
322
{"stats_method", OPT_STATS_METHOD,
333
323
"Specifies how index statistics collection code should treat NULLs. "
334
324
"Possible values of name are \"nulls_unequal\" (default behavior for 4.1/5.0), "