summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/database_impl.h')
-rw-r--r--src/mongo/db/catalog/database_impl.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mongo/db/catalog/database_impl.h b/src/mongo/db/catalog/database_impl.h
index 2130cdd9ce5..57af3693296 100644
--- a/src/mongo/db/catalog/database_impl.h
+++ b/src/mongo/db/catalog/database_impl.h
@@ -47,7 +47,7 @@ public:
// closes files and other cleanup see below.
- void close(OperationContext* opCtx, const std::string& reason) final;
+ void close(OperationContext* opCtx) final;
const std::string& name() const final {
return _name;
@@ -187,16 +187,6 @@ private:
const CollectionOptions& options);
/**
- * Deregisters and invalidates all cursors on collection 'fullns'. Callers must specify
- * 'reason' for why the cache is being cleared. If 'collectionGoingAway' is false,
- * unpinned cursors will not be killed.
- */
- void _clearCollectionCache(OperationContext* opCtx,
- StringData fullns,
- const std::string& reason,
- bool collectionGoingAway);
-
- /**
* Completes a collection drop by removing all the indexes and removing the collection itself
* from the storage engine.
*