summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2021-05-07 08:13:28 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2021-05-07 08:13:28 +0200
commita5b39825853126a26b8f789a8133fec1abe55d7f (patch)
tree297d74ffe04534d25bde8e6de51bb3190f1f7e31 /extra
parentd44a10f4dd3567fd84a7f5c6b8a00ce3a441eab7 (diff)
downloadmariadb-git-a5b39825853126a26b8f789a8133fec1abe55d7f.tar.gz
MDEV-25613 assertion (file_system.n_open > 0) failed
Remove operations on fil_system.n_open from mariabackup, as they are not protected by the mutex, and serve no higher purpose anyway.
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/fil_cur.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/extra/mariabackup/fil_cur.cc b/extra/mariabackup/fil_cur.cc
index 1364b337bec..8fe6af06b76 100644
--- a/extra/mariabackup/fil_cur.cc
+++ b/extra/mariabackup/fil_cur.cc
@@ -108,9 +108,6 @@ xb_fil_node_close_file(
node->handle = OS_FILE_CLOSED;
mutex_exit(&fil_system.mutex);
-
- ut_a(fil_system.n_open > 0);
- fil_system.n_open--;
}
/************************************************************************
@@ -169,8 +166,6 @@ xb_fil_cur_open(
return(XB_FIL_CUR_SKIP);
}
-
- fil_system.n_open++;
}
ut_ad(node->is_open());