summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/locker_noop.h
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-12-13 11:07:14 -0500
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-12-13 11:07:14 -0500
commit4061adae4c4cc556954ae50924f4aadd9f8ac732 (patch)
tree90e8bd1fcd75afd36f4f4d31d9344a3917e6b44c /src/mongo/db/concurrency/locker_noop.h
parent7678cba70d790eab3eb546988c77bb34ab83da1a (diff)
downloadmongo-4061adae4c4cc556954ae50924f4aadd9f8ac732.tar.gz
Revert "SERVER-26126 Remove broken LockState caching"
This reverts commit 6dc9fc6ba93b62830dd905f6fac39e0802566a9a.
Diffstat (limited to 'src/mongo/db/concurrency/locker_noop.h')
-rw-r--r--src/mongo/db/concurrency/locker_noop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/concurrency/locker_noop.h b/src/mongo/db/concurrency/locker_noop.h
index ff252243964..24450ceeecc 100644
--- a/src/mongo/db/concurrency/locker_noop.h
+++ b/src/mongo/db/concurrency/locker_noop.h
@@ -160,6 +160,10 @@ public:
invariant(false);
}
+ virtual void assertEmptyAndReset() {
+ invariant(false);
+ }
+
virtual bool hasLockPending() const {
invariant(false);
}