diff options
-rw-r--r-- | src/mongo/db/query/get_executor.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/query/get_executor.cpp b/src/mongo/db/query/get_executor.cpp index 73df3c9876d..e0f7041eb37 100644 --- a/src/mongo/db/query/get_executor.cpp +++ b/src/mongo/db/query/get_executor.cpp @@ -609,18 +609,6 @@ StatusWith<unique_ptr<PlanExecutor, PlanExecutor::Deleter>> getExecutor( namespace { -/** - * Returns true if 'me' is a GTE or GE predicate over the "ts" field. - */ -bool isOplogTsLowerBoundPred(const mongo::MatchExpression* me) { - if (mongo::MatchExpression::GT != me->matchType() && - mongo::MatchExpression::GTE != me->matchType()) { - return false; - } - - return me->path() == repl::OpTime::kTimestampFieldName; -} - StatusWith<unique_ptr<PlanExecutor, PlanExecutor::Deleter>> _getExecutorFind( OperationContext* opCtx, Collection* collection, |