diff options
author | Geert Bosch <geert@mongodb.com> | 2014-10-07 12:13:21 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2014-10-09 18:21:06 -0400 |
commit | 5ea4221f81e7af9272e4e687d516bb439ef29498 (patch) | |
tree | 8bfee151ed5a434935681e17a9f6e26a8c080a33 /src/mongo/dbtests/clienttests.cpp | |
parent | ff10cf8c748997338f51de2de61520e17518758c (diff) | |
download | mongo-5ea4221f81e7af9272e4e687d516bb439ef29498.tar.gz |
SERVER-14668: Collection level locking for update path
Temporarily disable collection locking for MMAPv1.
Diffstat (limited to 'src/mongo/dbtests/clienttests.cpp')
-rw-r--r-- | src/mongo/dbtests/clienttests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/clienttests.cpp b/src/mongo/dbtests/clienttests.cpp index 039bf9f3e36..01584aed69d 100644 --- a/src/mongo/dbtests/clienttests.cpp +++ b/src/mongo/dbtests/clienttests.cpp @@ -142,7 +142,7 @@ namespace ClientTests { db.insert(ns(), BSON("x" << 1 << "y" << 2)); db.insert(ns(), BSON("x" << 2 << "y" << 2)); - Collection* collection = ctx.ctx().db()->getCollection( &txn, ns() ); + Collection* collection = ctx.getCollection(); ASSERT( collection ); IndexCatalog* indexCatalog = collection->getIndexCatalog(); |