Remove the redundant variable fil_n_file_opened

This commit is contained in:
Marko Mäkelä 2018-11-27 14:28:07 +02:00
commit eb6364619f
6 changed files with 3 additions and 13 deletions

View file

@ -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:

View file

@ -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;