diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-06-14 22:27:55 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-06-21 20:01:19 -0400 |
commit | 77ccfbefcd740051597d1cb4eb36d25776926f72 (patch) | |
tree | c2c74f14e5acb9a52b39a5bca875d51b89ac9f6c /src/mongo/db/storage/kv/storage_engine_impl.h | |
parent | 957f32bcbd3b3485516acdff5c6e99f5b8f790b2 (diff) | |
download | mongo-77ccfbefcd740051597d1cb4eb36d25776926f72.tar.gz |
SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalog
Diffstat (limited to 'src/mongo/db/storage/kv/storage_engine_impl.h')
-rw-r--r-- | src/mongo/db/storage/kv/storage_engine_impl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/storage/kv/storage_engine_impl.h b/src/mongo/db/storage/kv/storage_engine_impl.h index 6c6dd3fdf2c..3d267bcbeeb 100644 --- a/src/mongo/db/storage/kv/storage_engine_impl.h +++ b/src/mongo/db/storage/kv/storage_engine_impl.h @@ -38,8 +38,9 @@ #include "mongo/base/string_data.h" #include "mongo/bson/timestamp.h" #include "mongo/db/namespace_string.h" +#include "mongo/db/storage/durable_catalog.h" +#include "mongo/db/storage/durable_catalog.h" #include "mongo/db/storage/journal_listener.h" -#include "mongo/db/storage/kv/kv_catalog.h" #include "mongo/db/storage/kv/kv_catalog_feature_tracker.h" #include "mongo/db/storage/kv/kv_drop_pending_ident_reaper.h" #include "mongo/db/storage/kv/storage_engine_interface.h" @@ -308,10 +309,10 @@ public: const NamespaceString& nss, StringData ident) override; - KVCatalog* getCatalog() { + DurableCatalog* getCatalog() { return _catalog.get(); } - const KVCatalog* getCatalog() const { + const DurableCatalog* getCatalog() const { return _catalog.get(); } |