diff options
author | Xin Hao Zhang <xinhao.zhang@mongodb.com> | 2019-07-26 09:58:58 -0400 |
---|---|---|
committer | Xin Hao Zhang <xinhao.zhang@mongodb.com> | 2019-07-26 09:58:58 -0400 |
commit | f839c1c4b94b292252a14170662ecc3daea2d638 (patch) | |
tree | d430f23a3c5d6cfb4e058f971c7f5acd6e03c066 | |
parent | 7c38ed67693fe3ee6e16bfc3f62ced1c9e2d855f (diff) | |
download | mongo-f839c1c4b94b292252a14170662ecc3daea2d638.tar.gz |
SERVER-36186 Delete moved function
-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, |