diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-10-14 09:37:03 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-10-15 16:00:01 -0400 |
commit | 786945e1a1fea1eb0f7863879e87d264af7a4293 (patch) | |
tree | f9d4f6e09d05da8b077c7c554c7a2d662920ec22 /src/mongo/db/operation_context_noop.h | |
parent | a2adff8b30574ed685443c164e35317418f5c8e4 (diff) | |
download | mongo-786945e1a1fea1eb0f7863879e87d264af7a4293.tar.gz |
SERVER-13635: hook up mmapv1 record stores to harness
Diffstat (limited to 'src/mongo/db/operation_context_noop.h')
-rw-r--r-- | src/mongo/db/operation_context_noop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/operation_context_noop.h b/src/mongo/db/operation_context_noop.h index d2ac6d47d77..347578c8cc7 100644 --- a/src/mongo/db/operation_context_noop.h +++ b/src/mongo/db/operation_context_noop.h @@ -78,8 +78,7 @@ namespace mongo { const std::string &name, unsigned long long progressMeterTotal, int secondsBetween) { - invariant(false); - return NULL; + return &_pm; } virtual void checkForInterrupt(bool heedMutex = true) const { } @@ -106,6 +105,7 @@ namespace mongo { private: std::auto_ptr<RecoveryUnit> _recoveryUnit; + ProgressMeter _pm; }; } // namespace mongo |