summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ops')
-rw-r--r--src/mongo/db/ops/update_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/update_executor.cpp b/src/mongo/db/ops/update_executor.cpp
index 12bb3e89a73..efa88679628 100644
--- a/src/mongo/db/ops/update_executor.cpp
+++ b/src/mongo/db/ops/update_executor.cpp
@@ -124,7 +124,7 @@ namespace mongo {
LOG(0) << "About to upgrade to exclusive lock on " + nsString.ns();
}
- Lock::DBLock lk(txn->lockState(), nsString.db(), newlm::MODE_X);
+ Lock::DBLock lk(txn->lockState(), nsString.db(), MODE_X);
WriteUnitOfWork wuow(txn);
invariant(db->createCollection(txn, nsString.ns()));