summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Hao Zhang <xinhao.zhang@mongodb.com>2019-07-26 09:58:58 -0400
committerXin Hao Zhang <xinhao.zhang@mongodb.com>2019-07-26 09:58:58 -0400
commitf839c1c4b94b292252a14170662ecc3daea2d638 (patch)
treed430f23a3c5d6cfb4e058f971c7f5acd6e03c066
parent7c38ed67693fe3ee6e16bfc3f62ced1c9e2d855f (diff)
downloadmongo-f839c1c4b94b292252a14170662ecc3daea2d638.tar.gz
SERVER-36186 Delete moved function
-rw-r--r--src/mongo/db/query/get_executor.cpp12
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,