summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/router_stage_remove_sortkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/router_stage_remove_sortkey.cpp')
-rw-r--r--src/mongo/s/query/router_stage_remove_sortkey.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/query/router_stage_remove_sortkey.cpp b/src/mongo/s/query/router_stage_remove_sortkey.cpp
index 9c58e489b13..9cb1e4d26c9 100644
--- a/src/mongo/s/query/router_stage_remove_sortkey.cpp
+++ b/src/mongo/s/query/router_stage_remove_sortkey.cpp
@@ -41,8 +41,8 @@ namespace mongo {
RouterStageRemoveSortKey::RouterStageRemoveSortKey(std::unique_ptr<RouterExecStage> child)
: RouterExecStage(std::move(child)) {}
-StatusWith<ClusterQueryResult> RouterStageRemoveSortKey::next(OperationContext* txn) {
- auto childResult = getChildStage()->next(txn);
+StatusWith<ClusterQueryResult> RouterStageRemoveSortKey::next(OperationContext* opCtx) {
+ auto childResult = getChildStage()->next(opCtx);
if (!childResult.isOK() || !childResult.getValue().getResult()) {
return childResult;
}
@@ -59,8 +59,8 @@ StatusWith<ClusterQueryResult> RouterStageRemoveSortKey::next(OperationContext*
return {builder.obj()};
}
-void RouterStageRemoveSortKey::kill(OperationContext* txn) {
- getChildStage()->kill(txn);
+void RouterStageRemoveSortKey::kill(OperationContext* opCtx) {
+ getChildStage()->kill(opCtx);
}
bool RouterStageRemoveSortKey::remotesExhausted() {