summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/canonical_query.cpp
diff options
context:
space:
mode:
authorDavid Percy <david.percy@mongodb.com>2020-09-17 04:42:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-30 22:50:57 +0000
commit8c79f80a154b337e28a4d9e364bca048f3668f21 (patch)
tree6ec1b409d16e148838d26650e93e76ee458b1f2f /src/mongo/db/query/canonical_query.cpp
parentd4a95bccc5f2e6e66cb13ae40a980706112f6524 (diff)
downloadmongo-8c79f80a154b337e28a4d9e364bca048f3668f21.tar.gz
SERVER-48851 CST test-command and $expr, $text, $where, $mod
Diffstat (limited to 'src/mongo/db/query/canonical_query.cpp')
-rw-r--r--src/mongo/db/query/canonical_query.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/canonical_query.cpp b/src/mongo/db/query/canonical_query.cpp
index 0e2945eae21..9154bf6bbd7 100644
--- a/src/mongo/db/query/canonical_query.cpp
+++ b/src/mongo/db/query/canonical_query.cpp
@@ -122,7 +122,7 @@ StatusWith<std::unique_ptr<CanonicalQuery>> CanonicalQuery::canonicalize(
StatusWithMatchExpression statusWithMatcher = [&]() -> StatusWithMatchExpression {
if (getTestCommandsEnabled() && internalQueryEnableCSTParser.load()) {
try {
- return cst::parseToMatchExpression(qr->getFilter(), newExpCtx);
+ return cst::parseToMatchExpression(qr->getFilter(), newExpCtx, extensionsCallback);
} catch (const DBException& ex) {
return ex.toStatus();
}