summaryrefslogtreecommitdiff
path: root/src/mongo/db/operation_context.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2016-12-08 15:58:23 -0500
committerGeert Bosch <geert@mongodb.com>2016-12-12 18:09:50 -0500
commit6dc9fc6ba93b62830dd905f6fac39e0802566a9a (patch)
tree9f95655578a9e49f70bc4d4ce13d975b0e014d8e /src/mongo/db/operation_context.cpp
parent4ae06d14a14f520f8d16228670ab2e1836173dbc (diff)
downloadmongo-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.cpp5
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);