summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/authentication_commands.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/db/commands/authentication_commands.cpp
parent71cbb04eb8262b0bdf255056f26101466c11b43d (diff)
downloadmongo-4de88387eec6c0bb08b10d0ba1574a656f56232d.tar.gz
SERVER-13641 rename TransactionExperiment to OperationContext
Diffstat (limited to 'src/mongo/db/commands/authentication_commands.cpp')
-rw-r--r--src/mongo/db/commands/authentication_commands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/commands/authentication_commands.cpp b/src/mongo/db/commands/authentication_commands.cpp
index 249fc0d93e4..8cd8b7afb2f 100644
--- a/src/mongo/db/commands/authentication_commands.cpp
+++ b/src/mongo/db/commands/authentication_commands.cpp
@@ -99,7 +99,7 @@ namespace mongo {
virtual void addRequiredPrivileges(const std::string& dbname,
const BSONObj& cmdObj,
std::vector<Privilege>* out) {} // No auth required
- bool run(TransactionExperiment* txn, const string&, BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
+ bool run(OperationContext* txn, const string&, BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool fromRepl) {
nonce64 n = getNextNonce();
stringstream ss;
ss << hex << n;
@@ -133,7 +133,7 @@ namespace mongo {
}
}
- bool CmdAuthenticate::run(TransactionExperiment* txn, const string& dbname,
+ bool CmdAuthenticate::run(OperationContext* txn, const string& dbname,
BSONObj& cmdObj,
int,
string& errmsg,
@@ -351,7 +351,7 @@ namespace mongo {
void help(stringstream& h) const { h << "de-authenticate"; }
virtual bool isWriteCommandForConfigServer() const { return false; }
CmdLogout() : Command("logout") {}
- bool run(TransactionExperiment* txn, const string& dbname,
+ bool run(OperationContext* txn, const string& dbname,
BSONObj& cmdObj,
int options,
string& errmsg,