diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2014-05-15 13:26:48 -0400 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2014-05-15 13:56:05 -0400 |
commit | 4de88387eec6c0bb08b10d0ba1574a656f56232d (patch) | |
tree | 7fdc9a0acd251b5b8b0a8f3de45ce1c2ecf7e94c /src/mongo/db/range_deleter.cpp | |
parent | 71cbb04eb8262b0bdf255056f26101466c11b43d (diff) | |
download | mongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz |
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/range_deleter.cpp')
-rw-r--r-- | src/mongo/db/range_deleter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/range_deleter.cpp b/src/mongo/db/range_deleter.cpp index 229f7e82060..9ae7fdd2674 100644 --- a/src/mongo/db/range_deleter.cpp +++ b/src/mongo/db/range_deleter.cpp @@ -74,7 +74,7 @@ namespace mongo { RangeDeleteEntry(): secondaryThrottle(true), notifyDone(NULL), - transactionFactory(TransactionExperiment::factoryNULL) { // XXX SERVER-13931 + transactionFactory(OperationContext::factoryNULL) { // XXX SERVER-13931 } std::string ns; @@ -100,7 +100,7 @@ namespace mongo { // Important invariant: Can only be set and used by one thread. Notification* notifyDone; - TransactionExperiment::Factory transactionFactory; + OperationContext::Factory transactionFactory; // For debugging only BSONObj toBSON() const { @@ -196,7 +196,7 @@ namespace mongo { } } - bool RangeDeleter::queueDelete(TransactionExperiment::Factory transactionFactory, + bool RangeDeleter::queueDelete(OperationContext::Factory transactionFactory, const std::string& ns, const BSONObj& min, const BSONObj& max, @@ -252,7 +252,7 @@ namespace mongo { return true; } - bool RangeDeleter::deleteNow(TransactionExperiment* txn, + bool RangeDeleter::deleteNow(OperationContext* txn, const std::string& ns, const BSONObj& min, const BSONObj& max, @@ -475,7 +475,7 @@ namespace mongo { } { - boost::scoped_ptr<TransactionExperiment> txn(nextTask->transactionFactory()); // XXX SERVER-13931 + boost::scoped_ptr<OperationContext> txn(nextTask->transactionFactory()); // XXX SERVER-13931 if (!_env->deleteRange(txn.get(), nextTask->ns, nextTask->min, |