summaryrefslogtreecommitdiff
path: root/storage/innobase/sync
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-06-29 23:10:46 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-06-29 23:10:46 +0300
commite903d458bb5267df4c37a6862587c403aa87dc35 (patch)
tree9f8ce1983b8521c6e4b41740be04246cc1d25c5f /storage/innobase/sync
parent591edccc93617ab238399f445d69f662ee2dedb8 (diff)
downloadmariadb-git-e903d458bb5267df4c37a6862587c403aa87dc35.tar.gz
Clean up InnoDB shutdown
Tablespace::shutdown(): Clear m_path. This was moved from Tablespace::~Tablespace(). LatchDebug::shutdown(): Remove a redundant condition.
Diffstat (limited to 'storage/innobase/sync')
-rw-r--r--storage/innobase/sync/sync0debug.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/storage/innobase/sync/sync0debug.cc b/storage/innobase/sync/sync0debug.cc
index e43e87eb14e..d6f3ef6c986 100644
--- a/storage/innobase/sync/sync0debug.cc
+++ b/storage/innobase/sync/sync0debug.cc
@@ -1267,11 +1267,6 @@ LatchDebug::shutdown()
mutex_free(&rw_lock_debug_mutex);
- if (instance() == NULL) {
-
- return;
- }
-
ut_a(s_initialized);
s_initialized = false;