diff options
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/catalog')
-rw-r--r-- | src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp | 5 | ||||
-rw-r--r-- | src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp b/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp index 617a6739cfe..b37ca245298 100644 --- a/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp +++ b/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.cpp @@ -442,4 +442,9 @@ void NamespaceDetailsCollectionCatalogEntry::setNamespacesRecordId(OperationCont _namespacesRecordId = newId; } } + +void NamespaceDetailsCollectionCatalogEntry::updateCappedSize(OperationContext* opCtx, + long long size) { + invariant(false); +} } diff --git a/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h b/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h index f4e4410e317..aff16b22093 100644 --- a/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h +++ b/src/mongo/db/storage/mmap_v1/catalog/namespace_details_collection_entry.h @@ -102,6 +102,8 @@ public: StringData validationLevel, StringData validationAction) final; + void updateCappedSize(OperationContext* opCtx, long long size) final; + // not part of interface, but available to my storage engine int _findIndexNumber(OperationContext* opCtx, StringData indexName) const; |