diff options
author | Geert Bosch <geert@mongodb.com> | 2016-12-08 15:58:23 -0500 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2016-12-12 18:09:50 -0500 |
commit | 6dc9fc6ba93b62830dd905f6fac39e0802566a9a (patch) | |
tree | 9f95655578a9e49f70bc4d4ce13d975b0e014d8e /src/mongo/db/operation_context.cpp | |
parent | 4ae06d14a14f520f8d16228670ab2e1836173dbc (diff) | |
download | mongo-6dc9fc6ba93b62830dd905f6fac39e0802566a9a.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); |