summaryrefslogtreecommitdiff
path: root/extra/mariabackup/fil_cur.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-11-27 14:28:07 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2018-11-27 14:30:39 +0200
commiteb6364619ff807645230479bf7d2eb87d1a4edb4 (patch)
tree1fa2a88b2e6c7a24d070122d7ed33206bf4df1e0 /extra/mariabackup/fil_cur.cc
parentb9824074a66b4cb6125820448b27937be23b0f8f (diff)
downloadmariadb-git-eb6364619ff807645230479bf7d2eb87d1a4edb4.tar.gz
Remove the redundant variable fil_n_file_opened
Diffstat (limited to 'extra/mariabackup/fil_cur.cc')
-rw-r--r--extra/mariabackup/fil_cur.cc2
1 files changed, 0 insertions, 2 deletions
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)) {