diff options
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r-- | src/mongo/db/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp index 812e062ede9..17901be98de 100644 --- a/src/mongo/db/client.cpp +++ b/src/mongo/db/client.cpp @@ -238,7 +238,7 @@ namespace mongo { Client::WriteContext::WriteContext( OperationContext* opCtx, const std::string& ns, bool doVersion) - : _lk(opCtx->lockState(), nsToDatabaseSubstring(ns), newlm::MODE_X), + : _lk(opCtx->lockState(), ns), _wunit(opCtx), _c(opCtx, ns, doVersion) { } |