summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/counttests.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-08-11 14:12:42 -0400
committerMathias Stearn <mathias@10gen.com>2014-08-13 17:30:25 -0400
commite33a6c57607871f1b204bd5e1d8ea4a14ad06452 (patch)
treed82f31fde82fbb43cb4e2c5ff3aa12044c8af199 /src/mongo/dbtests/counttests.cpp
parent00913e47de5aced5267e44e82ac9e976bbaac089 (diff)
downloadmongo-e33a6c57607871f1b204bd5e1d8ea4a14ad06452.tar.gz
SERVER-13951 WUOW now takes whole OperationContext, not just RecoveryUnit
This will make it possible to implement two-phase locking.
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 b18fb31af79..71cb99539d0 100644
--- a/src/mongo/dbtests/counttests.cpp
+++ b/src/mongo/dbtests/counttests.cpp
@@ -43,7 +43,7 @@ namespace CountTests {
class Base {
public:
- Base() : lk(_txn.lockState(), ns()), _wunit(_txn.recoveryUnit()), _context(&_txn, ns()) {
+ Base() : lk(_txn.lockState(), ns()), _wunit(&_txn), _context(&_txn, ns()) {
_database = _context.db();
_collection = _database->getCollection( &_txn, ns() );
if ( _collection ) {