diff options
Diffstat (limited to 'src/mongo/db/matcher/expression_expr.cpp')
-rw-r--r-- | src/mongo/db/matcher/expression_expr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/matcher/expression_expr.cpp b/src/mongo/db/matcher/expression_expr.cpp index 8963dd003d8..77349430e46 100644 --- a/src/mongo/db/matcher/expression_expr.cpp +++ b/src/mongo/db/matcher/expression_expr.cpp @@ -64,6 +64,10 @@ bool ExprMatchExpression::equivalent(const MatchExpression* other) const { realOther->_expression->serialize(false)); } +void ExprMatchExpression::_doSetCollator(const CollatorInterface* collator) { + _expCtx->setCollator(collator); +} + std::unique_ptr<MatchExpression> ExprMatchExpression::shallowClone() const { // TODO SERVER-31003: Replace Expression clone via serialization with Expression::clone(). |