diff options
author | Kyle Erf <erf@mongodb.com> | 2016-03-14 18:29:06 -0400 |
---|---|---|
committer | Kyle Erf <erf@mongodb.com> | 2016-03-14 18:29:06 -0400 |
commit | c5de48810757e217b0d68d59a48d11d9de42add6 (patch) | |
tree | 6c28851df5731759e8916a265e9cb3d756ba54e5 /src/mongo/db/query/indexability.h | |
parent | 488f48f2f497a4e844aa3057e49f96d2a4be1bcb (diff) | |
download | mongo-c5de48810757e217b0d68d59a48d11d9de42add6.tar.gz |
Revert "SERVER-22785 Update QueryPlannerIXSelect's index selection code to be collation-aware"
This reverts commit 0c25cd64ed475dbc88008af3c076cf2f235ce8d5.
Diffstat (limited to 'src/mongo/db/query/indexability.h')
-rw-r--r-- | src/mongo/db/query/indexability.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/query/indexability.h b/src/mongo/db/query/indexability.h index 6c8ce44bbb8..a68bf3f328a 100644 --- a/src/mongo/db/query/indexability.h +++ b/src/mongo/db/query/indexability.h @@ -131,15 +131,6 @@ public: return isBoundsGeneratingNot(me) || nodeCanUseIndexOnOwnField(me); } - /** - * Returns true if 'me' is of type EQ, GT, GTE, LT, or LTE. - */ - static bool isEqualityOrInequality(const MatchExpression* me) { - return (me->matchType() == MatchExpression::EQ || me->matchType() == MatchExpression::GT || - me->matchType() == MatchExpression::GTE || me->matchType() == MatchExpression::LT || - me->matchType() == MatchExpression::LTE); - } - private: /** * Returns true if 'me' is "sargable" but is not a negation and |