Commit 7951bb16 authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: remove unused variables

parent 75a27eea
...@@ -528,10 +528,6 @@ my_decimal decimal_zero; ...@@ -528,10 +528,6 @@ my_decimal decimal_zero;
*/ */
ulong max_long_data_size; ulong max_long_data_size;
/* Limits for internal temporary tables (MyISAM or Aria) */
uint internal_tmp_table_max_key_length;
uint internal_tmp_table_max_key_segments;
bool max_user_connections_checking=0; bool max_user_connections_checking=0;
/** /**
Limit of the total number of prepared statements in the server. Limit of the total number of prepared statements in the server.
...@@ -5151,11 +5147,6 @@ a file name for --log-bin-index option", opt_binlog_index_name); ...@@ -5151,11 +5147,6 @@ a file name for --log-bin-index option", opt_binlog_index_name);
sql_print_error("Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables"); sql_print_error("Aria engine is not enabled or did not start. The Aria engine must be enabled to continue as mysqld was configured with --with-aria-tmp-tables");
unireg_abort(1); unireg_abort(1);
} }
internal_tmp_table_max_key_length= maria_max_key_length();
internal_tmp_table_max_key_segments= maria_max_key_segments();
#else
internal_tmp_table_max_key_length= myisam_max_key_length();
internal_tmp_table_max_key_segments= myisam_max_key_segments();
#endif #endif
#ifdef WITH_WSREP #ifdef WITH_WSREP
......
...@@ -758,9 +758,6 @@ extern ulong binlog_checksum_options; ...@@ -758,9 +758,6 @@ extern ulong binlog_checksum_options;
extern bool max_user_connections_checking; extern bool max_user_connections_checking;
extern ulong opt_binlog_dbug_fsync_sleep; extern ulong opt_binlog_dbug_fsync_sleep;
extern uint internal_tmp_table_max_key_length;
extern uint internal_tmp_table_max_key_segments;
extern uint volatile global_disable_checkpoint; extern uint volatile global_disable_checkpoint;
extern my_bool opt_help; extern my_bool opt_help;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment