mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Remove the redundant variable fil_n_file_opened
This commit is contained in:
parent
b9824074a6
commit
eb6364619f
6 changed files with 3 additions and 13 deletions
|
|
@ -1960,7 +1960,7 @@ srv_mon_process_existing_counter(
|
|||
break;
|
||||
|
||||
case MONITOR_OVLD_N_FILE_OPENED:
|
||||
value = fil_n_file_opened;
|
||||
value = fil_system->n_open;
|
||||
break;
|
||||
|
||||
case MONITOR_OVLD_IBUF_MERGE_INSERT:
|
||||
|
|
|
|||
|
|
@ -1626,7 +1626,7 @@ srv_export_innodb_status(void)
|
|||
export_vars.innodb_system_rows_deleted =
|
||||
srv_stats.n_system_rows_deleted;
|
||||
|
||||
export_vars.innodb_num_open_files = fil_n_file_opened;
|
||||
export_vars.innodb_num_open_files = fil_system->n_open;
|
||||
|
||||
export_vars.innodb_truncated_status_writes =
|
||||
srv_truncated_status_writes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue