diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-19 13:41:28 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-20 13:03:25 -0400 |
commit | 9823bc1393f71baff06e6bb2d711c628eb7015bf (patch) | |
tree | c7d1eb13c51144ba424ded787c0549fe4c4e1b61 /src/mongo/db/operation_context_noop.h | |
parent | 24b08ff1d2b4688255675c91bc44b27fe21a23cb (diff) | |
download | mongo-9823bc1393f71baff06e6bb2d711c628eb7015bf.tar.gz |
SERVER-13961 Remove dependency on the TLS client from LockState
Also clean-up some of the code under LockState, in preparation from moving
it under operation context.
Diffstat (limited to 'src/mongo/db/operation_context_noop.h')
-rw-r--r-- | src/mongo/db/operation_context_noop.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/operation_context_noop.h b/src/mongo/db/operation_context_noop.h index b442f872ad9..c7503ca5526 100644 --- a/src/mongo/db/operation_context_noop.h +++ b/src/mongo/db/operation_context_noop.h @@ -44,6 +44,12 @@ namespace mongo { return _recoveryUnit.get(); } + virtual LockState* lockState() const { + // TODO: Eventually, this should return an actual LockState object. For now, + // LockState depends on the whole world and is not necessary for testing. + return NULL; + } + virtual ProgressMeter* setMessage(const char* msg, const std::string& name , unsigned long long progressMeterTotal, |