summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/get_executor.h
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2018-03-09 14:36:56 -0500
committerJames Wahlin <james@mongodb.com>2018-03-20 14:07:58 -0400
commitaaba5b468e67f81380f7fa099932a2722dab3a8a (patch)
tree26ed3e02b960230d1bc1c4ff17507e153b73354b /src/mongo/db/query/get_executor.h
parent3ef314d05280a5acfd84f3a8bb26e3bb9f31abde (diff)
downloadmongo-aaba5b468e67f81380f7fa099932a2722dab3a8a.tar.gz
SERVER-33354 Add snapshot read support for additional commands
Diffstat (limited to 'src/mongo/db/query/get_executor.h')
-rw-r--r--src/mongo/db/query/get_executor.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/mongo/db/query/get_executor.h b/src/mongo/db/query/get_executor.h
index 6a801c1a81b..237f577de7d 100644
--- a/src/mongo/db/query/get_executor.h
+++ b/src/mongo/db/query/get_executor.h
@@ -122,8 +122,7 @@ StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutorDist
OperationContext* opCtx,
Collection* collection,
const std::string& ns,
- ParsedDistinct* parsedDistinct,
- PlanExecutor::YieldPolicy yieldPolicy);
+ ParsedDistinct* parsedDistinct);
/*
* Get a PlanExecutor for a query executing as part of a count command.
@@ -133,11 +132,7 @@ StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutorDist
* executing a count.
*/
StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutorCount(
- OperationContext* opCtx,
- Collection* collection,
- const CountRequest& request,
- bool explain,
- PlanExecutor::YieldPolicy yieldPolicy);
+ OperationContext* opCtx, Collection* collection, const CountRequest& request, bool explain);
/**
* Get a PlanExecutor for a delete operation. 'parsedDelete' describes the query predicate
@@ -187,9 +182,6 @@ StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutorUpda
* If an executor could not be created, returns a Status indicating why.
*/
StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutorGroup(
- OperationContext* opCtx,
- Collection* collection,
- const GroupRequest& request,
- PlanExecutor::YieldPolicy yieldPolicy);
+ OperationContext* opCtx, Collection* collection, const GroupRequest& request);
} // namespace mongo