summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/index_filter_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/index_filter_commands.h')
-rw-r--r--src/mongo/db/commands/index_filter_commands.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/commands/index_filter_commands.h b/src/mongo/db/commands/index_filter_commands.h
index c34494b19d8..1fada8269a5 100644
--- a/src/mongo/db/commands/index_filter_commands.h
+++ b/src/mongo/db/commands/index_filter_commands.h
@@ -63,7 +63,7 @@ public:
* implement plan cache command functionality.
*/
- bool run(OperationContext* txn,
+ bool run(OperationContext* opCtx,
const std::string& dbname,
BSONObj& cmdObj,
int options,
@@ -92,7 +92,7 @@ public:
* Should contain just enough logic to invoke run*Command() function
* in query_settings.h
*/
- virtual Status runIndexFilterCommand(OperationContext* txn,
+ virtual Status runIndexFilterCommand(OperationContext* opCtx,
const std::string& ns,
BSONObj& cmdObj,
BSONObjBuilder* bob) = 0;
@@ -111,7 +111,7 @@ class ListFilters : public IndexFilterCommand {
public:
ListFilters();
- virtual Status runIndexFilterCommand(OperationContext* txn,
+ virtual Status runIndexFilterCommand(OperationContext* opCtx,
const std::string& ns,
BSONObj& cmdObj,
BSONObjBuilder* bob);
@@ -133,7 +133,7 @@ class ClearFilters : public IndexFilterCommand {
public:
ClearFilters();
- virtual Status runIndexFilterCommand(OperationContext* txn,
+ virtual Status runIndexFilterCommand(OperationContext* opCtx,
const std::string& ns,
BSONObj& cmdObj,
BSONObjBuilder* bob);
@@ -144,7 +144,7 @@ public:
* Namespace argument ns is ignored if we are clearing the entire cache.
* Removes corresponding entries from plan cache.
*/
- static Status clear(OperationContext* txn,
+ static Status clear(OperationContext* opCtx,
QuerySettings* querySettings,
PlanCache* planCache,
const std::string& ns,
@@ -167,7 +167,7 @@ class SetFilter : public IndexFilterCommand {
public:
SetFilter();
- virtual Status runIndexFilterCommand(OperationContext* txn,
+ virtual Status runIndexFilterCommand(OperationContext* opCtx,
const std::string& ns,
BSONObj& cmdObj,
BSONObjBuilder* bob);
@@ -176,7 +176,7 @@ public:
* Sets index filter for a query shape.
* Removes entry for query shape from plan cache.
*/
- static Status set(OperationContext* txn,
+ static Status set(OperationContext* opCtx,
QuerySettings* querySettings,
PlanCache* planCache,
const std::string& ns,