3151
3162
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
3152
3163
{"safe-mode", OPT_SAFE, "Skip some optimize stages (for testing).",
3153
3164
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
3165
#ifndef TO_BE_DELETED
3154
3166
{"safe-show-database", OPT_SAFE_SHOW_DB,
3155
3167
"Depricated option; One should use GRANT SHOW DATABASES instead...",
3156
3168
(gptr*) &opt_safe_show_db, (gptr*) &opt_safe_show_db, 0, GET_BOOL, NO_ARG,
3157
3169
0, 0, 0, 0, 0, 0},
3158
3171
{"safe-user-create", OPT_SAFE_USER_CREATE,
3159
3172
"Don't allow new user creation by the user who has no write privileges to the mysql.user table",
3160
3173
(gptr*) &opt_safe_user_create, (gptr*) &opt_safe_user_create, 0, GET_BOOL,
3161
3174
NO_ARG, 0, 0, 0, 0, 0, 0},
3162
3175
{"server-id", OPT_SERVER_ID,
3163
3176
"Uniquely identifies the server instance in the community of replication partners",
3164
(gptr*) &server_id, (gptr*) &server_id, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0,
3177
(gptr*) &server_id, (gptr*) &server_id, 0, GET_ULONG, REQUIRED_ARG, 0, 0, 0,
3166
3179
{"set-variable", 'O',
3167
3180
"Change the value of a variable. Please note that this option is deprecated;you can set variables directly with --variable-name=value.",
3168
3181
0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
3169
{"show-slave-auth-info", OPT_SHOW_SLAVE_AUTH_INFO, "Undocumented",
3182
{"show-slave-auth-info", OPT_SHOW_SLAVE_AUTH_INFO,
3183
"Show user and password in SHOW SLAVE STATUS",
3170
3184
(gptr*) &opt_show_slave_auth_info, (gptr*) &opt_show_slave_auth_info, 0,
3171
3185
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
3172
3186
{"concurrent-insert", OPT_CONCURRENT_INSERT,
3173
3187
"Use concurrent insert with MyISAM. Disable with prefix --skip-",
3174
3188
(gptr*) &myisam_concurrent_insert, (gptr*) &myisam_concurrent_insert,
3175
0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
3189
0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
3176
3190
{"delay-key-write", OPT_USE_DELAY_KEY_WRITE,
3177
3191
"Use delay_key_write option for all tables. Disable with prefix --skip-",
3178
3192
(gptr*) &myisam_delay_key_write, (gptr*) &myisam_delay_key_write, 0,
3439
3457
"After this many write locks, allow some read locks to run in between.",
3440
3458
(gptr*) &max_write_lock_count, (gptr*) &max_write_lock_count, 0, GET_ULONG,
3441
3459
REQUIRED_ARG, ~0L, 1, ~0L, 0, 1, 0},
3442
{"myisam_bulk_insert_tree_size", OPT_MYISAM_BULK_INSERT_TREE_SIZE,
3460
{"bulk_insert_buffer_size", OPT_BULK_INSERT_BUFFER_SIZE,
3443
3461
"Size of tree cache used in bulk insert optimisation. Note that this is a limit per thread!",
3444
(gptr*) &myisam_bulk_insert_tree_size,
3445
(gptr*) &myisam_bulk_insert_tree_size,
3462
(gptr*) &global_system_variables.bulk_insert_buff_size,
3463
(gptr*) &max_system_variables.bulk_insert_buff_size,
3446
3464
0, GET_ULONG, REQUIRED_ARG, 8192*1024, 0, ~0L, 0, 1, 0},
3447
3465
{"myisam_block_size", OPT_MYISAM_BLOCK_SIZE,
3448
"Undocumented", (gptr*) &opt_myisam_block_size,
3466
"Block size to be used for MyISAM index pages",
3467
(gptr*) &opt_myisam_block_size,
3449
3468
(gptr*) &opt_myisam_block_size, 0, GET_ULONG, REQUIRED_ARG,
3450
3469
MI_KEY_BLOCK_LENGTH, MI_MIN_KEY_BLOCK_LENGTH, MI_MAX_KEY_BLOCK_LENGTH,
3451
3470
0, MI_MIN_KEY_BLOCK_LENGTH, 0},
3452
3471
{"myisam_max_extra_sort_file_size", OPT_MYISAM_MAX_EXTRA_SORT_FILE_SIZE,
3453
"Used to help MySQL to decide when to use the slow but safe key cache index create method. Note that this parameter is given in megabytes!",
3472
"Used to help MySQL to decide when to use the slow but safe key cache index create method",
3454
3473
(gptr*) &global_system_variables.myisam_max_extra_sort_file_size,
3455
3474
(gptr*) &max_system_variables.myisam_max_extra_sort_file_size,
3456
0, GET_ULONG, REQUIRED_ARG, (long) (MI_MAX_TEMP_LENGTH/(1024L*1024L)),
3475
0, GET_ULL, REQUIRED_ARG, (ulonglong) MI_MAX_TEMP_LENGTH,
3457
3476
0, ~0L, 0, 1, 0},
3458
3477
{"myisam_max_sort_file_size", OPT_MYISAM_MAX_SORT_FILE_SIZE,
3459
"Don't use the fast sort index method to created index if the temporary file would get bigger than this. Note that this paramter is given in megabytes!",
3478
"Don't use the fast sort index method to created index if the temporary file would get bigger than this!",
3460
3479
(gptr*) &global_system_variables.myisam_max_sort_file_size,
3461
3480
(gptr*) &max_system_variables.myisam_max_sort_file_size, 0,
3462
GET_ULONG, REQUIRED_ARG, (long) (LONG_MAX/(1024L*1024L)), 0, ~0L, 0, 1, 0},
3481
GET_ULL, REQUIRED_ARG, (longlong) LONG_MAX, 0, ~0L, 0, 1024*1024, 0},
3463
3482
{"myisam_sort_buffer_size", OPT_MYISAM_SORT_BUFFER_SIZE,
3464
3483
"The buffer that is allocated when sorting the index when doing a REPAIR or when creating indexes with CREATE INDEX or ALTER TABLE.",
3465
(gptr*) &myisam_sort_buffer_size, (gptr*) &myisam_sort_buffer_size, 0,
3484
(gptr*) &global_system_variables.myisam_sort_buff_size,
3485
(gptr*) &max_system_variables.myisam_sort_buff_size, 0,
3466
3486
GET_ULONG, REQUIRED_ARG, 8192*1024, 4, ~0L, 0, 1, 0},
3467
3487
{"net_buffer_length", OPT_NET_BUFFER_LENGTH,
3468
"Buffer for TCP/IP and socket communication.",
3469
(gptr*) &net_buffer_length,
3470
(gptr*) &net_buffer_length, 0, GET_ULONG,
3471
REQUIRED_ARG, 16384, 1024, 1024*1024L, MALLOC_OVERHEAD, 1024, 0},
3488
"Buffer length for TCP/IP and socket communication.",
3489
(gptr*) &global_system_variables.net_buffer_length,
3490
(gptr*) &max_system_variables.net_buffer_length, 0, GET_ULONG,
3491
REQUIRED_ARG, 16384, 1024, 1024*1024L, 0, 1024, 0},
3472
3492
{"net_retry_count", OPT_NET_RETRY_COUNT,
3473
3493
"If a read on a communication port is interrupted, retry this many times before giving up.",
3474
3494
(gptr*) &mysqld_net_retry_count, (gptr*) &mysqld_net_retry_count, 0,
3475
3495
GET_ULONG, REQUIRED_ARG, MYSQLD_NET_RETRY_COUNT, 1, ~0L, 0, 1, 0},
3476
3496
{"net_read_timeout", OPT_NET_READ_TIMEOUT,
3477
3497
"Number of seconds to wait for more data from a connection before aborting the read.",
3478
(gptr*) &net_read_timeout,
3479
(gptr*) &net_read_timeout, 0, GET_ULONG,
3498
(gptr*) &global_system_variables.net_read_timeout,
3499
(gptr*) &max_system_variables.net_read_timeout, 0, GET_ULONG,
3480
3500
REQUIRED_ARG, NET_READ_TIMEOUT, 1, LONG_TIMEOUT, 0, 1, 0},
3481
3501
{"net_write_timeout", OPT_NET_WRITE_TIMEOUT,
3482
3502
"Number of seconds to wait for a block to be written to a connection before aborting the write.",
3483
(gptr*) &net_write_timeout,
3484
(gptr*) &net_write_timeout, 0, GET_ULONG,
3503
(gptr*) &global_system_variables.net_write_timeout,
3504
(gptr*) &max_system_variables.net_write_timeout, 0, GET_ULONG,
3485
3505
REQUIRED_ARG, NET_WRITE_TIMEOUT, 1, LONG_TIMEOUT, 0, 1, 0},
3486
3506
{"open_files_limit", OPT_OPEN_FILES_LIMIT,
3487
3507
"If this is not 0, then mysqld will use this value to reserve file descriptors to use with setrlimit(). If this value is 0 then mysqld will reserve max_connections*5 or max_connections + table_cache*2 (whichever is larger) number of files.",
3488
3508
(gptr*) &open_files_limit, (gptr*) &open_files_limit, 0, GET_ULONG,
3489
3509
REQUIRED_ARG, 0, 0, 65535, 0, 1, 0},
3490
{"query_buffer_size", OPT_QUERY_BUFFER_SIZE,
3491
"The initial allocation of the query buffer.", (gptr*) &query_buff_size,
3492
(gptr*) &query_buff_size, 0, GET_ULONG, REQUIRED_ARG, 0, MALLOC_OVERHEAD,
3493
(long) ~0, MALLOC_OVERHEAD, IO_SIZE, 0},
3494
3510
#ifdef HAVE_QUERY_CACHE
3495
3511
{"query_cache_limit", OPT_QUERY_CACHE_LIMIT,
3496
3512
"Don't cache results that are bigger than this.",
3500
3516
{"query_cache_size", OPT_QUERY_CACHE_SIZE,
3501
3517
"The memory allocated to store results from old queries.",
3502
3518
(gptr*) &query_cache_size, (gptr*) &query_cache_size, 0, GET_ULONG,
3503
REQUIRED_ARG, 0, 0, (longlong) ULONG_MAX, 0, 1, 0},
3519
REQUIRED_ARG, 0, 0, (longlong) ULONG_MAX, 0, 1024, 0},
3504
3520
#ifdef HAVE_QUERY_CACHE
3505
{"query_cache_startup_type", OPT_QUERY_CACHE_STARTUP_TYPE,
3521
{"query_cache_type", OPT_QUERY_CACHE_TYPE,
3506
3522
"0 = OFF = Don't cache or retrieve results. 1 = ON = Cache all results except SELECT SQL_NO_CACHE ... queries. 2 = DEMAND = Cache only SELECT SQL_CACHE ... queries.",
3507
(gptr*) &query_cache_startup_type, (gptr*) &query_cache_startup_type, 0,
3508
GET_ULONG, REQUIRED_ARG, 1, 0, 2, 0, 1, 0},
3523
(gptr*) &global_system_variables.query_cache_type,
3524
(gptr*) &max_system_variables.query_cache_type,
3525
0, GET_ULONG, REQUIRED_ARG, 1, 0, 2, 0, 1, 0},
3509
3526
#endif /*HAVE_QUERY_CACHE*/
3510
{"record_buffer", OPT_RECORD_BUFFER,
3527
{"read_buffer_size", OPT_RECORD_BUFFER,
3511
3528
"Each thread that does a sequential scan allocates a buffer of this size for each table it scans. If you do many sequential scans, you may want to increase this value.",
3512
(gptr*) &my_default_record_cache_size,
3513
(gptr*) &my_default_record_cache_size, 0, GET_ULONG, REQUIRED_ARG,
3529
(gptr*) &global_system_variables.read_buff_size,
3530
(gptr*) &max_system_variables.read_buff_size,0, GET_ULONG, REQUIRED_ARG,
3514
3531
128*1024L, IO_SIZE*2+MALLOC_OVERHEAD, ~0L, MALLOC_OVERHEAD, IO_SIZE, 0},
3515
{"record_rnd_buffer", OPT_RECORD_RND_BUFFER,
3532
{"read_rnd_buffer_size", OPT_RECORD_RND_BUFFER,
3516
3533
"When reading rows in sorted order after a sort, the rows are read through this buffer to avoid a disk seeks. If not set, then it's set to the value of record_buffer.",
3517
(gptr*) &global_system_variables.record_rnd_cache_size,
3518
(gptr*) &max_system_variables.record_rnd_cache_size, 0,
3519
GET_ULONG, REQUIRED_ARG, 0, IO_SIZE*2+MALLOC_OVERHEAD,
3534
(gptr*) &global_system_variables.read_rnd_buff_size,
3535
(gptr*) &max_system_variables.read_rnd_buff_size, 0,
3536
GET_ULONG, REQUIRED_ARG, 256*1024L, IO_SIZE*2+MALLOC_OVERHEAD,
3520
3537
~0L, MALLOC_OVERHEAD, IO_SIZE, 0},
3538
{"record_buffer", OPT_RECORD_BUFFER,
3539
"Alias for read_buffer_size",
3540
(gptr*) &global_system_variables.read_buff_size,
3541
(gptr*) &max_system_variables.read_buff_size,0, GET_ULONG, REQUIRED_ARG,
3542
128*1024L, IO_SIZE*2+MALLOC_OVERHEAD, ~0L, MALLOC_OVERHEAD, IO_SIZE, 0},
3521
3543
{"relay_log_space_limit", OPT_RELAY_LOG_SPACE_LIMIT,
3522
3544
"Undocumented", (gptr*) &relay_log_space_limit,
3523
3545
(gptr*) &relay_log_space_limit, 0, GET_ULONG, REQUIRED_ARG, 0L, 0L,
3565
3587
{0, 0, 0, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}
3568
struct show_var_st init_vars[]= {
3569
{"back_log", (char*) &back_log, SHOW_LONG},
3570
{"basedir", mysql_home, SHOW_CHAR},
3571
#ifdef HAVE_BERKELEY_DB
3572
{"bdb_cache_size", (char*) &berkeley_cache_size, SHOW_LONG},
3573
{"bdb_log_buffer_size", (char*) &berkeley_log_buffer_size, SHOW_LONG},
3574
{"bdb_home", (char*) &berkeley_home, SHOW_CHAR_PTR},
3575
{"bdb_max_lock", (char*) &berkeley_max_lock, SHOW_LONG},
3576
{"bdb_logdir", (char*) &berkeley_logdir, SHOW_CHAR_PTR},
3577
{"bdb_shared_data", (char*) &berkeley_shared_data, SHOW_BOOL},
3578
{"bdb_tmpdir", (char*) &berkeley_tmpdir, SHOW_CHAR_PTR},
3579
{"bdb_version", (char*) DB_VERSION_STRING, SHOW_CHAR},
3581
{"binlog_cache_size", (char*) &binlog_cache_size, SHOW_LONG},
3582
{"character_set", default_charset, SHOW_CHAR},
3583
{"character_sets", (char*) &charsets_list, SHOW_CHAR_PTR},
3584
{"concurrent_insert", (char*) &myisam_concurrent_insert, SHOW_MY_BOOL},
3585
{"connect_timeout", (char*) &connect_timeout, SHOW_LONG},
3586
{"datadir", mysql_real_data_home, SHOW_CHAR},
3587
{"delay_key_write", (char*) &myisam_delay_key_write, SHOW_MY_BOOL},
3588
{"delayed_insert_limit", (char*) &delayed_insert_limit, SHOW_LONG},
3589
{"delayed_insert_timeout", (char*) &delayed_insert_timeout, SHOW_LONG},
3590
{"delayed_queue_size", (char*) &delayed_queue_size, SHOW_LONG},
3591
{"flush", (char*) &myisam_flush, SHOW_MY_BOOL},
3592
{"flush_time", (char*) &flush_time, SHOW_LONG},
3593
{"ft_min_word_len", (char*) &ft_min_word_len, SHOW_LONG},
3594
{"ft_max_word_len", (char*) &ft_max_word_len, SHOW_LONG},
3595
{"ft_max_word_len_for_sort",(char*) &ft_max_word_len_for_sort, SHOW_LONG},
3596
{"ft_boolean_syntax", (char*) ft_boolean_syntax, SHOW_CHAR},
3597
{"have_bdb", (char*) &have_berkeley_db, SHOW_HAVE},
3598
{"have_innodb", (char*) &have_innodb, SHOW_HAVE},
3599
{"have_isam", (char*) &have_isam, SHOW_HAVE},
3600
{"have_raid", (char*) &have_raid, SHOW_HAVE},
3601
{"have_symlink", (char*) &have_symlink, SHOW_HAVE},
3602
{"have_openssl", (char*) &have_openssl, SHOW_HAVE},
3603
{"have_query_cache", (char*) &have_query_cache, SHOW_HAVE},
3604
{"init_file", (char*) &opt_init_file, SHOW_CHAR_PTR},
3605
#ifdef HAVE_INNOBASE_DB
3606
{"innodb_additional_mem_pool_size", (char*) &innobase_additional_mem_pool_size, SHOW_LONG },
3607
{"innodb_buffer_pool_size", (char*) &innobase_buffer_pool_size, SHOW_LONG },
3608
{"innodb_data_file_path", (char*) &innobase_data_file_path, SHOW_CHAR_PTR},
3609
{"innodb_data_home_dir", (char*) &innobase_data_home_dir, SHOW_CHAR_PTR},
3610
{"innodb_file_io_threads", (char*) &innobase_file_io_threads, SHOW_LONG },
3611
{"innodb_force_recovery", (char*) &innobase_force_recovery, SHOW_LONG },
3612
{"innodb_thread_concurrency", (char*) &innobase_thread_concurrency, SHOW_LONG },
3613
{"innodb_flush_log_at_trx_commit", (char*) &innobase_flush_log_at_trx_commit, SHOW_MY_BOOL},
3614
{"innodb_fast_shutdown", (char*) &innobase_fast_shutdown, SHOW_MY_BOOL},
3615
{"innodb_flush_method", (char*) &innobase_unix_file_flush_method, SHOW_CHAR_PTR},
3616
{"innodb_lock_wait_timeout", (char*) &innobase_lock_wait_timeout, SHOW_LONG },
3617
{"innodb_log_arch_dir", (char*) &innobase_log_arch_dir, SHOW_CHAR_PTR},
3618
{"innodb_log_archive", (char*) &innobase_log_archive, SHOW_MY_BOOL},
3619
{"innodb_log_buffer_size", (char*) &innobase_log_buffer_size, SHOW_LONG },
3620
{"innodb_log_file_size", (char*) &innobase_log_file_size, SHOW_LONG},
3621
{"innodb_log_files_in_group", (char*) &innobase_log_files_in_group, SHOW_LONG},
3622
{"innodb_log_group_home_dir", (char*) &innobase_log_group_home_dir, SHOW_CHAR_PTR},
3623
{"innodb_mirrored_log_groups", (char*) &innobase_mirrored_log_groups, SHOW_LONG},
3625
{"interactive_timeout",
3626
(char*) offsetof(struct system_variables, net_interactive_timeout),
3628
{"join_buffer_size",
3629
(char*) offsetof(struct system_variables, join_buff_size),
3631
{"key_buffer_size", (char*) &keybuff_size, SHOW_LONG},
3632
{"language", language, SHOW_CHAR},
3633
{"large_files_support", (char*) &opt_large_files, SHOW_BOOL},
3635
(char*) offsetof(struct system_variables, opt_local_infile),
3636
SHOW_MY_BOOL_OFFSET},
3637
#ifdef HAVE_MLOCKALL
3638
{"locked_in_memory", (char*) &locked_in_memory, SHOW_BOOL},
3640
{"log", (char*) &opt_log, SHOW_BOOL},
3641
{"log_update", (char*) &opt_update_log, SHOW_BOOL},
3642
{"log_bin", (char*) &opt_bin_log, SHOW_BOOL},
3643
{"log_slave_updates", (char*) &opt_log_slave_updates, SHOW_BOOL},
3644
{"log_slow_queries", (char*) &opt_slow_log, SHOW_BOOL},
3646
(char*) offsetof(struct system_variables, long_query_time),
3648
{"low_priority_updates", (char*) &low_priority_updates, SHOW_BOOL},
3649
{"lower_case_table_names", (char*) &lower_case_table_names, SHOW_LONG},
3650
{"max_allowed_packet", (char*) &max_allowed_packet, SHOW_LONG},
3651
{"max_binlog_cache_size", (char*) &max_binlog_cache_size, SHOW_LONG},
3652
{"max_binlog_size", (char*) &max_binlog_size, SHOW_LONG},
3653
{"max_connections", (char*) &max_connections, SHOW_LONG},
3654
{"max_connect_errors", (char*) &max_connect_errors, SHOW_LONG},
3655
{"max_delayed_threads", (char*) &max_insert_delayed_threads, SHOW_LONG},
3656
{"max_heap_table_size",
3657
(char*) offsetof(struct system_variables, max_heap_table_size),
3660
(char*) offsetof(struct system_variables, max_join_size),
3663
(char*) offsetof(struct system_variables, max_item_sort_length),
3665
{"max_user_connections", (char*) &max_user_connections, SHOW_LONG},
3667
(char*) offsetof(struct system_variables, max_tmp_tables),
3669
{"max_write_lock_count", (char*) &max_write_lock_count, SHOW_LONG},
3670
{"myisam_bulk_insert_tree_size", (char*) &myisam_bulk_insert_tree_size, SHOW_INT},
3671
{"myisam_max_extra_sort_file_size",
3672
(char*) offsetof(struct system_variables,
3673
myisam_max_extra_sort_file_size),
3675
{"myisam_max_sort_file_size",
3676
(char*) offsetof(struct system_variables, myisam_max_sort_file_size),
3678
{"myisam_recover_options", (char*) &myisam_recover_options_str, SHOW_CHAR_PTR},
3679
{"myisam_sort_buffer_size", (char*) &myisam_sort_buffer_size, SHOW_LONG},
3681
{"named_pipe", (char*) &opt_enable_named_pipe, SHOW_BOOL},
3683
{"net_buffer_length", (char*) &net_buffer_length, SHOW_LONG},
3684
{"net_read_timeout", (char*) &net_read_timeout, SHOW_LONG},
3685
{"net_retry_count", (char*) &mysqld_net_retry_count, SHOW_LONG},
3686
{"net_write_timeout", (char*) &net_write_timeout, SHOW_LONG},
3687
{"open_files_limit", (char*) &open_files_limit, SHOW_LONG},
3688
{"pid_file", (char*) pidfile_name, SHOW_CHAR},
3689
{"port", (char*) &mysql_port, SHOW_INT},
3690
{"protocol_version", (char*) &protocol_version, SHOW_INT},
3691
{"record_buffer", (char*) &my_default_record_cache_size,SHOW_LONG},
3692
{"record_rnd_buffer",
3693
(char*) offsetof(struct system_variables, record_rnd_cache_size),
3695
{"rpl_recovery_rank", (char*) &rpl_recovery_rank, SHOW_LONG},
3696
{"query_buffer_size", (char*) &query_buff_size, SHOW_LONG},
3697
#ifdef HAVE_QUERY_CACHE
3698
{"query_cache_limit", (char*) &query_cache.query_cache_limit, SHOW_LONG},
3699
{"query_cache_size", (char*) &query_cache.query_cache_size, SHOW_LONG},
3700
{"query_cache_startup_type",(char*) &query_cache_startup_type, SHOW_LONG},
3701
#endif /*HAVE_QUERY_CACHE*/
3702
{"safe_show_database", (char*) &opt_safe_show_db, SHOW_BOOL},
3703
{"server_id", (char*) &server_id, SHOW_LONG},
3704
{"slave_net_timeout", (char*) &slave_net_timeout, SHOW_LONG},
3705
{"skip_locking", (char*) &my_disable_locking, SHOW_MY_BOOL},
3706
{"skip_networking", (char*) &opt_disable_networking, SHOW_BOOL},
3707
{"skip_show_database", (char*) &opt_skip_show_db, SHOW_BOOL},
3708
{"slow_launch_time", (char*) &slow_launch_time, SHOW_LONG},
3709
{"socket", (char*) &mysql_unix_port, SHOW_CHAR_PTR},
3711
(char*) offsetof(struct system_variables, sortbuff_size),
3713
{"sql_mode", (char*) &opt_sql_mode, SHOW_LONG},
3714
{"table_cache", (char*) &table_cache_size, SHOW_LONG},
3715
{"table_type", (char*) &default_table_type_name, SHOW_CHAR_PTR},
3716
{"thread_cache_size", (char*) &thread_cache_size, SHOW_LONG},
3717
#ifdef HAVE_THR_SETCONCURRENCY
3718
{"thread_concurrency", (char*) &concurrency, SHOW_LONG},
3720
{"thread_stack", (char*) &thread_stack, SHOW_LONG},
3721
{"transaction_isolation", (char*) &default_tx_isolation_name, SHOW_CHAR_PTR},
3723
{"timezone", time_zone, SHOW_CHAR},
3726
(char*) offsetof(struct system_variables, tmp_table_size),
3728
{"tmpdir", (char*) &mysql_tmpdir, SHOW_CHAR_PTR},
3729
{"version", server_version, SHOW_CHAR},
3731
(char*) offsetof(struct system_variables, net_wait_timeout),
3734
(char*) offsetof(struct system_variables, opt_warnings),
3735
SHOW_MY_BOOL_OFFSET},
3736
{NullS, NullS, SHOW_LONG}
3739
3591
struct show_var_st status_vars[]= {
3740
3592
{"Aborted_clients", (char*) &aborted_threads, SHOW_LONG},