summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/counttests.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-01 03:56:39 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-07-01 09:04:58 -0400
commitf64357e485c8d46bd6fd393f7416df6117672de1 (patch)
treea90f2bb933dd4a1c2e774ac4e280e8ce7dbcbaeb /src/mongo/dbtests/counttests.cpp
parente7e24a657b64fa59c30b063c72ff4cbee9674b7e (diff)
downloadmongo-f64357e485c8d46bd6fd393f7416df6117672de1.tar.gz
SERVER-13961 Add OperationContext argument to Client::Context
Time tracking and database access in Client::Context require access to the OperationContext. Adding it as argument. This is in preparation for removing LockState from Client.
Diffstat (limited to 'src/mongo/dbtests/counttests.cpp')
-rw-r--r--src/mongo/dbtests/counttests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/counttests.cpp b/src/mongo/dbtests/counttests.cpp
index 8e34074e2aa..f8119b632a1 100644
--- a/src/mongo/dbtests/counttests.cpp
+++ b/src/mongo/dbtests/counttests.cpp
@@ -42,7 +42,7 @@ namespace CountTests {
class Base {
public:
- Base() : lk(_txn.lockState(), ns()), _context( ns() ) {
+ Base() : lk(_txn.lockState(), ns()), _context(&_txn, ns()) {
_database = _context.db();
_collection = _database->getCollection( &_txn, ns() );
if ( _collection ) {