From 92593d1af174244ba5560be29908b4f729fec78c Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Thu, 26 Mar 2015 16:40:28 -0400 Subject: SERVER-17758 Move AutoGet* and Client::*Context to their own file. The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext. --- src/mongo/dbtests/query_stage_ixscan.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/dbtests/query_stage_ixscan.cpp') diff --git a/src/mongo/dbtests/query_stage_ixscan.cpp b/src/mongo/dbtests/query_stage_ixscan.cpp index 1bd44f78ff5..c0db9cbc1ed 100644 --- a/src/mongo/dbtests/query_stage_ixscan.cpp +++ b/src/mongo/dbtests/query_stage_ixscan.cpp @@ -27,6 +27,7 @@ */ #include "mongo/db/client.h" +#include "mongo/db/db_raii.h" #include "mongo/db/exec/index_scan.h" #include "mongo/db/exec/working_set.h" #include "mongo/db/jsobj.h" @@ -141,7 +142,7 @@ namespace QueryStageIxscan { ScopedTransaction _scopedXact; Lock::DBLock _dbLock; - Client::Context _ctx; + OldClientContext _ctx; Collection* _coll; WorkingSet _ws; -- cgit v1.2.1