summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/indexupdatetests.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2015-03-26 16:40:28 -0400
committerAndy Schwerin <schwerin@mongodb.com>2015-03-27 10:25:09 -0400
commit92593d1af174244ba5560be29908b4f729fec78c (patch)
treed98ba6959b2f91da14aad46794248d2323c7ce08 /src/mongo/dbtests/indexupdatetests.cpp
parent18a3b8528833a478d5a207bfe5fcb8e35673ee8f (diff)
downloadmongo-92593d1af174244ba5560be29908b4f729fec78c.tar.gz
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.
Diffstat (limited to 'src/mongo/dbtests/indexupdatetests.cpp')
-rw-r--r--src/mongo/dbtests/indexupdatetests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/indexupdatetests.cpp b/src/mongo/dbtests/indexupdatetests.cpp
index a1604f6a46a..cf92968a55a 100644
--- a/src/mongo/dbtests/indexupdatetests.cpp
+++ b/src/mongo/dbtests/indexupdatetests.cpp
@@ -33,15 +33,15 @@
#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/index_catalog.h"
#include "mongo/db/catalog/index_create.h"
+#include "mongo/db/db_raii.h"
#include "mongo/db/dbdirectclient.h"
#include "mongo/db/dbhelpers.h"
#include "mongo/db/global_environment_d.h"
#include "mongo/db/global_environment_experiment.h"
#include "mongo/db/index/index_descriptor.h"
#include "mongo/db/operation_context_impl.h"
-#include "mongo/platform/cstdint.h"
-
#include "mongo/dbtests/dbtests.h"
+#include "mongo/platform/cstdint.h"
namespace IndexUpdateTests {
@@ -120,7 +120,7 @@ namespace IndexUpdateTests {
}
OperationContextImpl _txn;
- Client::WriteContext _ctx;
+ OldClientWriteContext _ctx;
DBDirectClient _client;
};