Commit 194c5b6a authored by Eugene Kosov's avatar Eugene Kosov

MDEV-21990 Issue a message on changing deprecated innodb_log_files_in_group

innodb_init_params(): make sure that srv_n_log_files == 1 always
parent 8fdb6956
......@@ -3428,6 +3428,8 @@ static const char* innodb_page_cleaners_msg
= "The parameter innodb_page_cleaners is deprecated and has no effect.";
ulong srv_n_log_files;
static const char* srv_n_log_files_msg
= "The parameter innodb_log_files_in_group is deprecated and has no effect.";
static my_bool innodb_background_scrub_data_uncompressed;
......@@ -3786,6 +3788,11 @@ static int innodb_init_params()
sql_print_warning(deprecated::innodb_page_cleaners_msg);
}
if (UNIV_UNLIKELY(deprecated::srv_n_log_files != 1)) {
sql_print_warning(deprecated::srv_n_log_files_msg);
deprecated::srv_n_log_files = 1;
}
deprecated::innodb_buffer_pool_instances = 1;
deprecated::innodb_page_cleaners = 1;
......
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