summaryrefslogtreecommitdiff
path: root/src/mongo/db/views
diff options
context:
space:
mode:
authorKatherine Wu <katherine.wu@mongodb.com>2021-01-24 17:04:01 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-24 04:23:59 +0000
commitd32cb4b3d8f475caee2b2458ff65e5aca3530b41 (patch)
treedb5373be5c7e67ff8fb44d40dc4f609e6e93a540 /src/mongo/db/views
parent5aa7b616740041902f232480967793a6745faa4e (diff)
downloadmongo-d32cb4b3d8f475caee2b2458ff65e5aca3530b41.tar.gz
SERVER-53483 Map predicates on time and regular fields to predicates on control's min/max
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r--src/mongo/db/views/view_catalog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/views/view_catalog.cpp b/src/mongo/db/views/view_catalog.cpp
index bd35ffd5ddf..96f748f9acb 100644
--- a/src/mongo/db/views/view_catalog.cpp
+++ b/src/mongo/db/views/view_catalog.cpp
@@ -408,8 +408,7 @@ StatusWith<stdx::unordered_set<NamespaceString>> ViewCatalog::validatePipeline(
const LiteParsedPipeline liteParsedPipeline(viewDef.viewOn(), viewDef.pipeline());
const auto involvedNamespaces = liteParsedPipeline.getInvolvedNamespaces();
- // Perform API versioning validation checks on stages of the pipeline.
- liteParsedPipeline.validatePipelineStagesforAPIVersion(opCtx);
+ liteParsedPipeline.validate(opCtx);
// Verify that this is a legitimate pipeline specification by making sure it parses
// correctly. In order to parse a pipeline we need to resolve any namespaces involved to a