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/instance.h | |
parent | 71cbb04eb8262b0bdf255056f26101466c11b43d (diff) | |
download | mongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz |
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/instance.h')
-rw-r--r-- | src/mongo/db/instance.h | 10 |
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; |