diff options
Diffstat (limited to 'src/mongo/dbtests/perf/perftest.cpp')
-rw-r--r-- | src/mongo/dbtests/perf/perftest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/perf/perftest.cpp b/src/mongo/dbtests/perf/perftest.cpp index 2afa74f68fa..6ae7cf35532 100644 --- a/src/mongo/dbtests/perf/perftest.cpp +++ b/src/mongo/dbtests/perf/perftest.cpp @@ -702,7 +702,7 @@ namespace Plan { lk_.reset( new Lock::GlobalWrite ); } void run() { - Client::Context ctx( ns_ ); + Client::Context ctx(txn, ns_ ); for( int i = 0; i < 10000; ++i ) { scoped_ptr<MultiPlanScanner> s ( MultiPlanScanner::make( ns_.c_str(), BSONObj(), BSON( "a" << 1 ) ) ); @@ -723,7 +723,7 @@ namespace Plan { lk_.reset( new Lock::GlobalWrite ); } void run() { - Client::Context ctx( ns_.c_str() ); + Client::Context ctx(txn, ns_.c_str() ); for( int i = 0; i < 10000; ++i ) { scoped_ptr<MultiPlanScanner> s( MultiPlanScanner::make( ns_.c_str(), BSON( "a" << 1 ), BSONObj() ) ); |