summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/query_stage_count.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/query_stage_count.cpp')
-rw-r--r--src/mongo/dbtests/query_stage_count.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/dbtests/query_stage_count.cpp b/src/mongo/dbtests/query_stage_count.cpp
index f100a8901f1..1973ba6b6d7 100644
--- a/src/mongo/dbtests/query_stage_count.cpp
+++ b/src/mongo/dbtests/query_stage_count.cpp
@@ -29,6 +29,7 @@
#include <boost/scoped_ptr.hpp>
#include <memory>
+#include "mongo/db/db_raii.h"
#include "mongo/db/exec/collection_scan.h"
#include "mongo/db/exec/collection_scan_common.h"
#include "mongo/db/exec/count.h"
@@ -231,7 +232,7 @@ namespace QueryStageCount {
OperationContextImpl _txn;
ScopedTransaction _scopedXact;
Lock::DBLock _dbLock;
- Client::Context _ctx;
+ OldClientContext _ctx;
Collection* _coll;
};