diff options
author | Geert Bosch <geert@mongodb.com> | 2016-12-08 15:58:23 -0500 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2016-12-22 18:56:04 -0500 |
commit | 7b68733fae7ce8d91f9a5fda67b9972c15a20ef0 (patch) | |
tree | f59233f093cd6e406e3807a06f79838e7c152439 /src/mongo/db/operation_context.cpp | |
parent | 8b6d59479a2a7b3f490057279599d245ee00195b (diff) | |
download | mongo-7b68733fae7ce8d91f9a5fda67b9972c15a20ef0.tar.gz |
SERVER-26126 Remove broken LockState caching
Diffstat (limited to 'src/mongo/db/operation_context.cpp')
-rw-r--r-- | src/mongo/db/operation_context.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/operation_context.cpp b/src/mongo/db/operation_context.cpp index 8151fe97dfa..f96c644b431 100644 --- a/src/mongo/db/operation_context.cpp +++ b/src/mongo/db/operation_context.cpp @@ -397,11 +397,6 @@ OperationContext::RecoveryUnitState OperationContext::setRecoveryUnit(RecoveryUn return oldState; } -std::unique_ptr<Locker> OperationContext::releaseLockState() { - dassert(_locker); - return std::move(_locker); -} - void OperationContext::setLockState(std::unique_ptr<Locker> locker) { dassert(!_locker); dassert(locker); |