diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-04-13 16:51:54 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-04-26 17:31:35 -0400 |
commit | d6a77a0135db56972b2626a08e20a240a770f66f (patch) | |
tree | 787d6af56c956cf0fab3d12d584668f58d50d105 /src/mongo/dbtests/query_stage_multiplan.cpp | |
parent | bfc1cf3a390099be0c031d2533aa5d090fc0acd6 (diff) | |
download | mongo-d6a77a0135db56972b2626a08e20a240a770f66f.tar.gz |
SERVER-23608 Make MatchExpressionParser take a CollatorInterface*
Diffstat (limited to 'src/mongo/dbtests/query_stage_multiplan.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_multiplan.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/dbtests/query_stage_multiplan.cpp b/src/mongo/dbtests/query_stage_multiplan.cpp index 4056c439545..250eb5c380f 100644 --- a/src/mongo/dbtests/query_stage_multiplan.cpp +++ b/src/mongo/dbtests/query_stage_multiplan.cpp @@ -149,8 +149,9 @@ public: // Make the filter. BSONObj filterObj = BSON("foo" << 7); - StatusWithMatchExpression statusWithMatcher = - MatchExpressionParser::parse(filterObj, ExtensionsCallbackDisallowExtensions()); + CollatorInterface* collator = nullptr; + StatusWithMatchExpression statusWithMatcher = MatchExpressionParser::parse( + filterObj, ExtensionsCallbackDisallowExtensions(), collator); verify(statusWithMatcher.isOK()); unique_ptr<MatchExpression> filter = std::move(statusWithMatcher.getValue()); // Make the stage. |