diff options
Diffstat (limited to 'src/mongo/db/catalog/database_impl.h')
-rw-r--r-- | src/mongo/db/catalog/database_impl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/catalog/database_impl.h b/src/mongo/db/catalog/database_impl.h index b5ee0179b3a..31e04fb8476 100644 --- a/src/mongo/db/catalog/database_impl.h +++ b/src/mongo/db/catalog/database_impl.h @@ -116,14 +116,6 @@ public: Collection* getCollection(OperationContext* opCtx, const NamespaceString& ns) const; - /** - * Get the view catalog, which holds the definition for all views created on this database. You - * must be holding a database lock to use this accessor. - */ - ViewCatalog* getViewCatalog() final { - return &_views; - } - Collection* getOrCreateCollection(OperationContext* opCtx, const NamespaceString& nss) final; /** @@ -223,9 +215,6 @@ private: std::unique_ptr<PseudoRandom> _uniqueCollectionNamespacePseudoRandom; CollectionMap _collections; - - DurableViewCatalogImpl _durableViews; // interface for system.views operations - ViewCatalog _views; // in-memory representation of _durableViews }; } // namespace mongo |