mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
changed variable display from string to int (bits) for myisam-recover
and sql-mode options. sql/mysqld.cc: Changed the sql-mode to be shown as a number (bits) instead of a string.
This commit is contained in:
@ -2850,7 +2850,7 @@ struct show_var_st init_vars[]= {
|
|||||||
{"max_user_connections", (char*) &max_user_connections, SHOW_LONG},
|
{"max_user_connections", (char*) &max_user_connections, SHOW_LONG},
|
||||||
{"max_tmp_tables", (char*) &max_tmp_tables, SHOW_LONG},
|
{"max_tmp_tables", (char*) &max_tmp_tables, SHOW_LONG},
|
||||||
{"max_write_lock_count", (char*) &max_write_lock_count, SHOW_LONG},
|
{"max_write_lock_count", (char*) &max_write_lock_count, SHOW_LONG},
|
||||||
{"myisam_recover_options", (char*) &myisam_recover_options_str, SHOW_CHAR_PTR},
|
{"myisam_recover_options", (char*) &myisam_recover_options, SHOW_LONG},
|
||||||
{"myisam_max_extra_sort_file_size", (char*) &myisam_max_extra_sort_file_size,
|
{"myisam_max_extra_sort_file_size", (char*) &myisam_max_extra_sort_file_size,
|
||||||
SHOW_LONG},
|
SHOW_LONG},
|
||||||
{"myisam_max_sort_file_size",(char*) &myisam_max_sort_file_size, SHOW_LONG},
|
{"myisam_max_sort_file_size",(char*) &myisam_max_sort_file_size, SHOW_LONG},
|
||||||
@ -2874,7 +2874,7 @@ struct show_var_st init_vars[]= {
|
|||||||
{"slow_launch_time", (char*) &slow_launch_time, SHOW_LONG},
|
{"slow_launch_time", (char*) &slow_launch_time, SHOW_LONG},
|
||||||
{"socket", (char*) &mysql_unix_port, SHOW_CHAR_PTR},
|
{"socket", (char*) &mysql_unix_port, SHOW_CHAR_PTR},
|
||||||
{"sort_buffer", (char*) &sortbuff_size, SHOW_LONG},
|
{"sort_buffer", (char*) &sortbuff_size, SHOW_LONG},
|
||||||
{"sql_mode", (char*) &sql_mode_str, SHOW_CHAR_PTR},
|
{"sql_mode", (char*) &opt_sql_mode, SHOW_LONG},
|
||||||
{"table_cache", (char*) &table_cache_size, SHOW_LONG},
|
{"table_cache", (char*) &table_cache_size, SHOW_LONG},
|
||||||
{"table_type", (char*) &default_table_type_name, SHOW_CHAR_PTR},
|
{"table_type", (char*) &default_table_type_name, SHOW_CHAR_PTR},
|
||||||
{"thread_cache_size", (char*) &thread_cache_size, SHOW_LONG},
|
{"thread_cache_size", (char*) &thread_cache_size, SHOW_LONG},
|
||||||
|
Reference in New Issue
Block a user