247
247
{"set-auto-increment", 'A',
248
248
"Force auto_increment to start at this or higher value. If no value is given, then sets the next auto_increment value to the highest used value for the auto key + 1.",
249
(uchar**) &check_param.auto_increment_value,
250
(uchar**) &check_param.auto_increment_value,
249
&check_param.auto_increment_value,
250
&check_param.auto_increment_value,
251
251
0, GET_ULL, OPT_ARG, 0, 0, 0, 0, 0, 0},
252
252
{"set-collation", OPT_SET_COLLATION,
253
253
"Change the collation used by the index",
254
(uchar**) &set_collation_name, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
254
&set_collation_name, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
255
255
{"set-variable", 'O',
256
256
"Change the value of a variable. Please note that this option is deprecated; you can set variables directly with --variable-name=value.",
257
257
0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
286
286
"Wait if table is locked.",
287
287
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
288
288
{ "key_buffer_size", OPT_KEY_BUFFER_SIZE, "",
289
(uchar**) &check_param.use_buffers, (uchar**) &check_param.use_buffers, 0,
289
&check_param.use_buffers, &check_param.use_buffers, 0,
290
290
GET_ULL, REQUIRED_ARG, USE_BUFFER_INIT, MALLOC_OVERHEAD,
291
291
SIZE_T_MAX, MALLOC_OVERHEAD, IO_SIZE, 0},
292
292
{ "key_cache_block_size", OPT_KEY_CACHE_BLOCK_SIZE, "",
293
(uchar**) &opt_key_cache_block_size,
294
(uchar**) &opt_key_cache_block_size, 0,
293
&opt_key_cache_block_size,
294
&opt_key_cache_block_size, 0,
295
295
GET_LONG, REQUIRED_ARG, MI_KEY_BLOCK_LENGTH, MI_MIN_KEY_BLOCK_LENGTH,
296
296
MI_MAX_KEY_BLOCK_LENGTH, 0, MI_MIN_KEY_BLOCK_LENGTH, 0},
297
297
{ "myisam_block_size", OPT_MYISAM_BLOCK_SIZE, "",
298
(uchar**) &opt_myisam_block_size, (uchar**) &opt_myisam_block_size, 0,
298
&opt_myisam_block_size, &opt_myisam_block_size, 0,
299
299
GET_LONG, REQUIRED_ARG, MI_KEY_BLOCK_LENGTH, MI_MIN_KEY_BLOCK_LENGTH,
300
300
MI_MAX_KEY_BLOCK_LENGTH, 0, MI_MIN_KEY_BLOCK_LENGTH, 0},
301
301
{ "read_buffer_size", OPT_READ_BUFFER_SIZE, "",
302
(uchar**) &check_param.read_buffer_length,
303
(uchar**) &check_param.read_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
302
&check_param.read_buffer_length,
303
&check_param.read_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
304
304
(long) READ_BUFFER_INIT, (long) MALLOC_OVERHEAD,
305
305
INT_MAX32, (long) MALLOC_OVERHEAD, (long) 1L, 0},
306
306
{ "write_buffer_size", OPT_WRITE_BUFFER_SIZE, "",
307
(uchar**) &check_param.write_buffer_length,
308
(uchar**) &check_param.write_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
307
&check_param.write_buffer_length,
308
&check_param.write_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
309
309
(long) READ_BUFFER_INIT, (long) MALLOC_OVERHEAD,
310
310
INT_MAX32, (long) MALLOC_OVERHEAD, (long) 1L, 0},
311
311
{ "sort_buffer_size", OPT_SORT_BUFFER_SIZE, "",
312
(uchar**) &check_param.sort_buffer_length,
313
(uchar**) &check_param.sort_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
312
&check_param.sort_buffer_length,
313
&check_param.sort_buffer_length, 0, GET_ULONG, REQUIRED_ARG,
314
314
(long) SORT_BUFFER_INIT, (long) (MIN_SORT_BUFFER + MALLOC_OVERHEAD),
315
315
ULONG_MAX, (long) MALLOC_OVERHEAD, (long) 1L, 0},
316
316
{ "sort_key_blocks", OPT_SORT_KEY_BLOCKS, "",
317
(uchar**) &check_param.sort_key_blocks,
318
(uchar**) &check_param.sort_key_blocks, 0, GET_ULONG, REQUIRED_ARG,
317
&check_param.sort_key_blocks,
318
&check_param.sort_key_blocks, 0, GET_ULONG, REQUIRED_ARG,
319
319
BUFFERS_WHEN_SORTING, 4L, 100L, 0L, 1L, 0},
320
{ "decode_bits", OPT_DECODE_BITS, "", (uchar**) &decode_bits,
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,
320
{ "decode_bits", OPT_DECODE_BITS, "", &decode_bits,
321
&decode_bits, 0, GET_UINT, REQUIRED_ARG, 9L, 4L, 17L, 0L, 1L, 0},
322
{ "ft_min_word_len", OPT_FT_MIN_WORD_LEN, "", &ft_min_word_len,
323
&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,
325
{ "ft_max_word_len", OPT_FT_MAX_WORD_LEN, "", &ft_max_word_len,
326
&ft_max_word_len, 0, GET_ULONG, REQUIRED_ARG, HA_FT_MAXCHARLEN, 10,
327
327
HA_FT_MAXCHARLEN, 0, 1, 0},
328
328
{ "ft_stopword_file", OPT_FT_STOPWORD_FILE,
329
329
"Use stopwords from this file instead of built-in list.",
330
(uchar**) &ft_stopword_file, (uchar**) &ft_stopword_file, 0, GET_STR,
330
&ft_stopword_file, &ft_stopword_file, 0, GET_STR,
331
331
REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
332
332
{"stats_method", OPT_STATS_METHOD,
333
333
"Specifies how index statistics collection code should treat NULLs. "
334
334
"Possible values of name are \"nulls_unequal\" (default behavior for 4.1/5.0), "
335
335
"\"nulls_equal\" (emulate 4.0 behavior), and \"nulls_ignored\".",
336
(uchar**) &myisam_stats_method_str, (uchar**) &myisam_stats_method_str, 0,
336
&myisam_stats_method_str, &myisam_stats_method_str, 0,
337
337
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
338
338
{ 0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}