summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/extsorttests.cpp
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:26:48 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-05-15 13:56:05 -0400
commit4de88387eec6c0bb08b10d0ba1574a656f56232d (patch)
tree7fdc9a0acd251b5b8b0a8f3de45ce1c2ecf7e94c /src/mongo/dbtests/extsorttests.cpp
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/dbtests/extsorttests.cpp')
-rw-r--r--src/mongo/dbtests/extsorttests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/dbtests/extsorttests.cpp b/src/mongo/dbtests/extsorttests.cpp
index 1ebf364421f..15eb4e58ea5 100644
--- a/src/mongo/dbtests/extsorttests.cpp
+++ b/src/mongo/dbtests/extsorttests.cpp
@@ -33,7 +33,7 @@
#include "mongo/db/catalog/database.h"
#include "mongo/db/extsort.h"
#include "mongo/db/index/btree_based_bulk_access_method.h"
-#include "mongo/db/storage/mmap_v1/dur_transaction.h"
+#include "mongo/db/operation_context_impl.h"
#include "mongo/db/catalog/collection.h"
#include "mongo/dbtests/dbtests.h"
#include "mongo/platform/cstdint.h"
@@ -311,7 +311,7 @@ namespace ExtSortTests {
_client.createCollection( _ns );
// Take a write lock.
Client::WriteContext ctx( _ns );
- DurTransaction txn;
+ OperationContextImpl txn;
Collection* coll = ctx.ctx().db()->getCollection( _ns );
// Do a write to ensure the implementation will interrupt sort() even after a write has
// occurred.
@@ -360,7 +360,7 @@ namespace ExtSortTests {
_client.createCollection( _ns );
// Take a write lock.
Client::WriteContext ctx( _ns );
- DurTransaction txn;
+ OperationContextImpl txn;
Collection* coll = ctx.ctx().db()->getCollection( _ns );
// Do a write to ensure the implementation will interrupt sort() even after a write has
// occurred.