diff options
author | James Wahlin <james@mongodb.com> | 2018-03-09 14:36:56 -0500 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2018-03-20 14:07:58 -0400 |
commit | aaba5b468e67f81380f7fa099932a2722dab3a8a (patch) | |
tree | 26ed3e02b960230d1bc1c4ff17507e153b73354b /src/mongo/db/query/get_executor.h | |
parent | 3ef314d05280a5acfd84f3a8bb26e3bb9f31abde (diff) | |
download | mongo-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.h | 14 |
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 |