From eb6364619ff807645230479bf7d2eb87d1a4edb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 27 Nov 2018 14:28:07 +0200 Subject: Remove the redundant variable fil_n_file_opened --- extra/mariabackup/fil_cur.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'extra/mariabackup/fil_cur.cc') diff --git a/extra/mariabackup/fil_cur.cc b/extra/mariabackup/fil_cur.cc index f5b3db1e184..7b7cfb3c948 100644 --- a/extra/mariabackup/fil_cur.cc +++ b/extra/mariabackup/fil_cur.cc @@ -110,7 +110,6 @@ xb_fil_node_close_file( ut_a(fil_system->n_open > 0); fil_system->n_open--; - fil_n_file_opened--; if (node->space->purpose == FIL_TYPE_TABLESPACE && fil_is_user_tablespace_id(node->space->id)) { @@ -179,7 +178,6 @@ xb_fil_cur_open( mutex_enter(&fil_system->mutex); fil_system->n_open++; - fil_n_file_opened++; if (node->space->purpose == FIL_TYPE_TABLESPACE && fil_is_user_tablespace_id(node->space->id)) { -- cgit v1.2.1