mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
innobase_init(): Remove an unnecessary condition
Because innodb_file_per_table can be enabled at runtime after it was disabled at startup, it is better to always register the same innobase_hton->tablefile_extensions. Besides, innodb_file_per_table=OFF does not prevent loading tables that may have been created earlier with the .ibd file extension.
This commit is contained in:
parent
58389c71c2
commit
68466bb485
1 changed files with 1 additions and 4 deletions
|
@ -3810,10 +3810,7 @@ innobase_init(
|
|||
innobase_hton->fake_trx_id=wsrep_fake_trx_id;
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
if (srv_file_per_table) {
|
||||
innobase_hton->tablefile_extensions = ha_innobase_exts;
|
||||
}
|
||||
|
||||
innobase_hton->tablefile_extensions = ha_innobase_exts;
|
||||
innobase_hton->table_options = innodb_table_option_list;
|
||||
|
||||
innodb_remember_check_sysvar_funcs();
|
||||
|
|
Loading…
Add table
Reference in a new issue