diff options
author | Sophie Saskin <sophie.saskin@mongodb.com> | 2019-12-20 19:08:01 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-20 19:08:01 +0000 |
commit | 21abe36245600807b68198de636d368f96e669d7 (patch) | |
tree | c0894abe7ea44d2c3cbbb91f02ff342605265ba0 /src/mongo/db/query/query_planner_collation_test.cpp | |
parent | 3fea6b339770dcdead06803b0c794553c25b94fb (diff) | |
download | mongo-21abe36245600807b68198de636d368f96e669d7.tar.gz |
SERVER-41700 query $type:xxx defaults to exact bounds or inexact covered bounds whenever possible
Diffstat (limited to 'src/mongo/db/query/query_planner_collation_test.cpp')
-rw-r--r-- | src/mongo/db/query/query_planner_collation_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_planner_collation_test.cpp b/src/mongo/db/query/query_planner_collation_test.cpp index 806e0c0f54d..8cdbc8a18b1 100644 --- a/src/mongo/db/query/query_planner_collation_test.cpp +++ b/src/mongo/db/query/query_planner_collation_test.cpp @@ -171,7 +171,7 @@ TEST_F(QueryPlannerTest, TypeStringCannotBeCoveredWithCollator) { assertSolutionExists( "{proj: {spec: {_id: 0, a: 1}, node: {fetch: {filter: {a:{$type:'string'}}, collation: " "{locale: 'reverse'}, node: {ixscan: {pattern: {a: 1}, filter: null, " - "bounds: {a: [['',{},true,true]]}}}}}}}"); + "bounds: {a: [['',{},true,false]]}}}}}}}"); } TEST_F(QueryPlannerTest, NotWithStringBoundsCannotBeCoveredWithCollator) { |