diff options
author | Geert Bosch <geert@mongodb.com> | 2014-09-29 17:53:20 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2014-09-29 17:54:36 -0400 |
commit | 8e83e72512fcb8eb8f06987927766c0b77cea23e (patch) | |
tree | 21167749db25a7124a528157f20d1f7a3be4beee /src/mongo/dbtests/dbhelper_tests.cpp | |
parent | 57af98451c500c5d8112cfc5e75917a0e561069f (diff) | |
download | mongo-8e83e72512fcb8eb8f06987927766c0b77cea23e.tar.gz |
BF-532: Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"
This reverts commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290.
This reverts commit 962f959a09b63aa0482d7e0c9bad89363d1e1194.
Diffstat (limited to 'src/mongo/dbtests/dbhelper_tests.cpp')
-rw-r--r-- | src/mongo/dbtests/dbhelper_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/dbhelper_tests.cpp b/src/mongo/dbtests/dbhelper_tests.cpp index 70ab52c878c..4801b711a1c 100644 --- a/src/mongo/dbtests/dbhelper_tests.cpp +++ b/src/mongo/dbtests/dbhelper_tests.cpp @@ -62,7 +62,7 @@ namespace mongo { { // Remove _id range [_min, _max). - Lock::DBLock lk(txn.lockState(), nsToDatabaseSubstring(ns), newlm::MODE_X); + Lock::DBWrite lk(txn.lockState(), ns); WriteUnitOfWork wunit(&txn); Client::Context ctx(&txn, ns ); |