diff options
Diffstat (limited to 'src/mongo/db/query/internal_plans.h')
| -rw-r--r-- | src/mongo/db/query/internal_plans.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mongo/db/query/internal_plans.h b/src/mongo/db/query/internal_plans.h index 46400c4e3fa..ea8de7c0042 100644 --- a/src/mongo/db/query/internal_plans.h +++ b/src/mongo/db/query/internal_plans.h @@ -83,8 +83,7 @@ public: boost::optional<RecordIdBound> minRecord = boost::none, boost::optional<RecordIdBound> maxRecord = boost::none, CollectionScanParams::ScanBoundInclusion boundInclusion = - CollectionScanParams::ScanBoundInclusion::kIncludeBothStartAndEndRecords, - bool shouldReturnEofOnFilterMismatch = false); + CollectionScanParams::ScanBoundInclusion::kIncludeBothStartAndEndRecords); static std::unique_ptr<PlanExecutor, PlanExecutor::Deleter> collectionScan( OperationContext* opCtx, @@ -105,9 +104,7 @@ public: boost::optional<RecordIdBound> maxRecord = boost::none, CollectionScanParams::ScanBoundInclusion boundInclusion = CollectionScanParams::ScanBoundInclusion::kIncludeBothStartAndEndRecords, - std::unique_ptr<BatchedDeleteStageBatchParams> batchedDeleteParams = nullptr, - const MatchExpression* filter = nullptr, - bool shouldReturnEofOnFilterMismatch = false); + boost::optional<std::unique_ptr<BatchedDeleteStageBatchParams>> batchParams = boost::none); /** * Returns an index scan. Caller owns returned pointer. @@ -200,8 +197,7 @@ private: const boost::intrusive_ptr<ExpressionContext>& expCtx, WorkingSet* ws, const CollectionPtr* collection, - const CollectionScanParams& params, - const MatchExpression* filter = nullptr); + const CollectionScanParams& params); /** * Returns a plan stage that is either an index scan or an index scan with a fetch stage. |
