summaryrefslogtreecommitdiff
path: root/src/mongo/db/structure/record_store_v1_test_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/structure/record_store_v1_test_help.cpp')
-rw-r--r--src/mongo/db/structure/record_store_v1_test_help.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/mongo/db/structure/record_store_v1_test_help.cpp b/src/mongo/db/structure/record_store_v1_test_help.cpp
index 1853ac3a622..cc2662ef498 100644
--- a/src/mongo/db/structure/record_store_v1_test_help.cpp
+++ b/src/mongo/db/structure/record_store_v1_test_help.cpp
@@ -41,44 +41,6 @@
namespace mongo {
- bool DummyRecoveryUnit::commitIfNeeded( bool force ) {
- return false;
- }
-
- bool DummyRecoveryUnit::isCommitNeeded() const {
- return false;
- }
-
- void* DummyRecoveryUnit::writingPtr(void* data, size_t len) {
- return data;
- }
-
- void DummyRecoveryUnit::createdFile(const std::string& filename, unsigned long long len) {
- }
-
- void DummyRecoveryUnit::syncDataAndTruncateJournal() {
- }
-
- DummyOperationContext::DummyOperationContext() {
- _recoveryUnit.reset(new DummyRecoveryUnit());
- }
-
- ProgressMeter* DummyOperationContext::setMessage(const char* msg,
- const std::string& name ,
- unsigned long long progressMeterTotal,
- int secondsBetween) {
- invariant( false );
- }
-
- void DummyOperationContext::checkForInterrupt(bool heedMutex ) const {
- }
-
- Status DummyOperationContext::checkForInterruptNoAssert() const {
- return Status::OK();
- }
-
- // -----------------------------------------
-
DummyRecordStoreV1MetaData::DummyRecordStoreV1MetaData( bool capped, int userFlags ) {
_dataSize = 0;
_numRecords = 0;