summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_collation_test.cpp
diff options
context:
space:
mode:
authorSophie Saskin <sophie.saskin@mongodb.com>2019-12-20 19:08:01 +0000
committerevergreen <evergreen@mongodb.com>2019-12-20 19:08:01 +0000
commit21abe36245600807b68198de636d368f96e669d7 (patch)
treec0894abe7ea44d2c3cbbb91f02ff342605265ba0 /src/mongo/db/query/query_planner_collation_test.cpp
parent3fea6b339770dcdead06803b0c794553c25b94fb (diff)
downloadmongo-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.cpp2
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) {