summaryrefslogtreecommitdiff
path: root/src/mongo/db/instance.h
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/db/instance.h
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/instance.h')
-rw-r--r--src/mongo/db/instance.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/instance.h b/src/mongo/db/instance.h
index 50a988917ad..1e475f9e89d 100644
--- a/src/mongo/db/instance.h
+++ b/src/mongo/db/instance.h
@@ -35,7 +35,7 @@
#include "mongo/db/client.h"
#include "mongo/db/curop-inl.h"
#include "mongo/db/dbmessage.h"
-#include "mongo/db/storage/transaction.h"
+#include "mongo/db/operation_context.h"
#include "mongo/db/storage_options.h"
namespace mongo {
@@ -68,7 +68,7 @@ namespace mongo {
extern DiagLog _diaglog;
- void assembleResponse( TransactionExperiment* txn,
+ void assembleResponse( OperationContext* txn,
Message& m,
DbResponse& dbresponse,
const HostAndPort &client );
@@ -87,7 +87,7 @@ namespace mongo {
class DBDirectClient : public DBClientBase {
public:
DBDirectClient(); // DEPRECATED
- DBDirectClient(TransactionExperiment* txn); // txn must outlive this object
+ DBDirectClient(OperationContext* txn); // txn must outlive this object
using DBClientBase::query;
@@ -133,8 +133,8 @@ namespace mongo {
private:
static HostAndPort _clientHost;
- boost::scoped_ptr<TransactionExperiment> _txnOwned;
- TransactionExperiment* _txn; // Points either to _txnOwned or a passed-in transaction.
+ boost::scoped_ptr<OperationContext> _txnOwned;
+ OperationContext* _txn; // Points either to _txnOwned or a passed-in transaction.
};
extern int lockFile;