summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_plan_cache_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_plan_cache_cmd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
index fea10e3de88..b29eff8b0b2 100644
--- a/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
+++ b/src/mongo/s/commands/cluster_plan_cache_cmd.cpp
@@ -86,7 +86,7 @@ public:
}
// Cluster plan cache command entry point.
- bool run(OperationContext* txn,
+ bool run(OperationContext* opCtx,
const std::string& dbname,
BSONObj& cmdObj,
int options,
@@ -110,7 +110,7 @@ private:
// Cluster plan cache command implementation(s) below
//
-bool ClusterPlanCacheCmd::run(OperationContext* txn,
+bool ClusterPlanCacheCmd::run(OperationContext* opCtx,
const std::string& dbName,
BSONObj& cmdObj,
int options,
@@ -124,7 +124,7 @@ bool ClusterPlanCacheCmd::run(OperationContext* txn,
vector<Strategy::CommandResult> results;
const BSONObj query;
Strategy::commandOp(
- txn, dbName, cmdObj, options, nss.ns(), query, CollationSpec::kSimpleSpec, &results);
+ opCtx, dbName, cmdObj, options, nss.ns(), query, CollationSpec::kSimpleSpec, &results);
// Set value of first shard result's "ok" field.
bool clusterCmdResult = true;