summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database_impl.h
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2019-06-17 21:04:06 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2019-06-17 21:04:06 -0400
commit0a9350795577342633b5d4ab5f3792851f6d5938 (patch)
tree027897283ddccb4d85d46e7007c3851829c2bf83 /src/mongo/db/catalog/database_impl.h
parent0b6d829a370bd29c95cfb1016d13549428e69434 (diff)
downloadmongo-0a9350795577342633b5d4ab5f3792851f6d5938.tar.gz
Revert "SERVER-41583 Refactor the registration and de-registration of collection and catalog entry"
This reverts commit da41fda9079d52d7ecd0689c8daf6fe23ce21b4b.
Diffstat (limited to 'src/mongo/db/catalog/database_impl.h')
-rw-r--r--src/mongo/db/catalog/database_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/database_impl.h b/src/mongo/db/catalog/database_impl.h
index da4b567e91f..ef90e9cf08f 100644
--- a/src/mongo/db/catalog/database_impl.h
+++ b/src/mongo/db/catalog/database_impl.h
@@ -41,6 +41,10 @@ public:
void init(OperationContext*) const final;
+
+ // closes files and other cleanup see below.
+ void close(OperationContext* opCtx) const final;
+
const std::string& name() const final {
return _name;
}