diff options
author | Geert Bosch <geert@mongodb.com> | 2015-10-13 10:57:54 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-10-13 14:01:43 -0400 |
commit | 06e09f899936159a6fffa2c9168a95ee18eb1e5a (patch) | |
tree | f6b93714b5f0933c72e0f1bcca0b49f6e6e2f939 /src/mongo/db/storage/devnull | |
parent | 42705b4bff5887feddb1e79378a673d7d1b3c662 (diff) | |
download | mongo-06e09f899936159a6fffa2c9168a95ee18eb1e5a.tar.gz |
SERVER-20574: Rename inMemory storage engine to ephemeralForTest
Diffstat (limited to 'src/mongo/db/storage/devnull')
-rw-r--r-- | src/mongo/db/storage/devnull/SConscript | 2 | ||||
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_kv_engine.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/storage/devnull/SConscript b/src/mongo/db/storage/devnull/SConscript index e3355801c3c..22f82359129 100644 --- a/src/mongo/db/storage/devnull/SConscript +++ b/src/mongo/db/storage/devnull/SConscript @@ -6,7 +6,7 @@ env.Library( 'devnull_kv_engine.cpp', ], LIBDEPS=[ - '$BUILD_DIR/mongo/db/storage/in_memory/in_memory_record_store', + '$BUILD_DIR/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store', '$BUILD_DIR/mongo/db/storage/kv/kv_storage_engine', ], ) diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp index 272cb344910..9c82309d5c9 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp @@ -31,7 +31,7 @@ #include "mongo/db/storage/devnull/devnull_kv_engine.h" #include "mongo/base/disallow_copying.h" -#include "mongo/db/storage/in_memory/in_memory_record_store.h" +#include "mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.h" #include "mongo/db/storage/record_store.h" #include "mongo/db/storage/sorted_data_interface.h" #include "mongo/stdx/memory.h" @@ -243,7 +243,7 @@ RecordStore* DevNullKVEngine::getRecordStore(OperationContext* opCtx, StringData ident, const CollectionOptions& options) { if (ident == "_mdb_catalog") { - return new InMemoryRecordStore(ns, &_catalogInfo); + return new EphemeralForTestRecordStore(ns, &_catalogInfo); } return new DevNullRecordStore(ns, options); } |