diff options
author | David Percy <david.percy@mongodb.com> | 2020-09-17 04:42:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-09-30 22:50:57 +0000 |
commit | 8c79f80a154b337e28a4d9e364bca048f3668f21 (patch) | |
tree | 6ec1b409d16e148838d26650e93e76ee458b1f2f /src/mongo/db/query/canonical_query.cpp | |
parent | d4a95bccc5f2e6e66cb13ae40a980706112f6524 (diff) | |
download | mongo-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.cpp | 2 |
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(); } |