diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2019-08-23 17:22:55 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-08-23 17:22:55 +0000 |
commit | 441871aa17a4c77175c8c6d6c8ac94eadecbfd33 (patch) | |
tree | 540f02926f1b1ad19f3f960706beaeb921fa4408 /src/mongo/db/concurrency | |
parent | d768cef877ff502968479905a1da8f65078841d7 (diff) | |
download | mongo-441871aa17a4c77175c8c6d6c8ac94eadecbfd33.tar.gz |
SERVER-43010 remove DEV and MONGO_DEV macros
Diffstat (limited to 'src/mongo/db/concurrency')
-rw-r--r-- | src/mongo/db/concurrency/lock_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_state.cpp b/src/mongo/db/concurrency/lock_state.cpp index 315a7389e04..a4df3cf77bd 100644 --- a/src/mongo/db/concurrency/lock_state.cpp +++ b/src/mongo/db/concurrency/lock_state.cpp @@ -856,7 +856,7 @@ LockResult LockerImpl::lockBegin(OperationContext* opCtx, ResourceId resId, Lock } else if (resType != RESOURCE_MUTEX) { // This is all sanity checks that the global locks are always be acquired // before any other lock has been acquired and they must be in sync with the nesting. - DEV { + if (kDebugBuild) { const LockRequestsMap::Iterator itGlobal = _requests.find(resourceIdGlobal); invariant(itGlobal->recursiveCount > 0); invariant(itGlobal->mode != MODE_NONE); |