From f839c1c4b94b292252a14170662ecc3daea2d638 Mon Sep 17 00:00:00 2001 From: Xin Hao Zhang Date: Fri, 26 Jul 2019 09:58:58 -0400 Subject: SERVER-36186 Delete moved function --- src/mongo/db/query/get_executor.cpp | 12 ------------ 1 file changed, 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> 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> _getExecutorFind( OperationContext* opCtx, Collection* collection, -- cgit v1.2.1