mirror of
https://github.com/MariaDB/server.git
synced 2025-04-21 06:35:31 +02:00
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
This commit is contained in:
parent
8fdb695690
commit
194c5b6ad2
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
--innodb-log-files-in-group=2
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue