diff options
author | Eliot Horowitz <eliot@10gen.com> | 2013-05-21 22:56:51 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2013-05-22 16:51:00 -0400 |
commit | cf9c3ea82f89136d98fe58fc9a68d0f62f501e20 (patch) | |
tree | 66cee8e5f8fda9381e65a9663cb87ec139d5406b /src/mongo/db/matcher/matcher.cpp | |
parent | cd3548f66b33f019e5c42dbf02d96d4ccf839789 (diff) | |
download | mongo-cf9c3ea82f89136d98fe58fc9a68d0f62f501e20.tar.gz |
SERVER-9749: all is just semantic sugar for and
Diffstat (limited to 'src/mongo/db/matcher/matcher.cpp')
-rw-r--r-- | src/mongo/db/matcher/matcher.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/matcher.cpp b/src/mongo/db/matcher/matcher.cpp index d9744c1fd47..cfd482d3b33 100644 --- a/src/mongo/db/matcher/matcher.cpp +++ b/src/mongo/db/matcher/matcher.cpp @@ -266,6 +266,9 @@ namespace mongo { Matcher2::IndexSpliceInfo* spliceInfo ) { switch ( full->matchType() ) { + case MatchExpression::ALWAYS_FALSE: + return new FalseMatchExpression(); + case MatchExpression::NOT: case MatchExpression::NOR: // maybe? |