summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.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/commands.h
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index c9c5920126d..6a8363f7ba4 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -33,7 +33,7 @@ namespace mongo {
class Client;
class Database;
class Timer;
- class TransactionExperiment;
+ class OperationContext;
namespace mutablebson {
class Document;
@@ -72,7 +72,7 @@ namespace mutablebson {
return value is true if succeeded. if false, set errmsg text.
*/
- virtual bool run(TransactionExperiment* txn,
+ virtual bool run(OperationContext* txn,
const string& db,
BSONObj& cmdObj,
int options,
@@ -198,7 +198,7 @@ namespace mutablebson {
int queryOptions = 0);
static Command * findCommand( const string& name );
// For mongod and webserver.
- static void execCommand(TransactionExperiment* txn,
+ static void execCommand(OperationContext* txn,
Command* c,
Client& client,
int queryOptions,
@@ -207,7 +207,7 @@ namespace mutablebson {
BSONObjBuilder& result,
bool fromRepl );
// For mongos
- static void execCommandClientBasic(TransactionExperiment* txn,
+ static void execCommandClientBasic(OperationContext* txn,
Command* c,
ClientBasic& client,
int queryOptions,
@@ -251,7 +251,7 @@ namespace mutablebson {
bool fromRepl);
};
- bool _runCommands(TransactionExperiment* txn,
+ bool _runCommands(OperationContext* txn,
const char* ns,
BSONObj& jsobj,
BufBuilder& b,