summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_index_filter_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_index_filter_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_index_filter_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_index_filter_cmd.cpp b/src/mongo/s/commands/cluster_index_filter_cmd.cpp
index 52cdebea5d5..35612ecd08e 100644
--- a/src/mongo/s/commands/cluster_index_filter_cmd.cpp
+++ b/src/mongo/s/commands/cluster_index_filter_cmd.cpp
@@ -91,7 +91,7 @@ public:
}
// Cluster plan cache command entry point.
- bool run(OperationContext* txn,
+ bool run(OperationContext* opCtx,
const std::string& dbname,
BSONObj& cmdObj,
int options,
@@ -108,7 +108,7 @@ public:
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;