diff options
Diffstat (limited to 'src/mongo/db/query/optimizer/index_bounds.cpp')
-rw-r--r-- | src/mongo/db/query/optimizer/index_bounds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/optimizer/index_bounds.cpp b/src/mongo/db/query/optimizer/index_bounds.cpp index 82c98f29341..481fe590ba9 100644 --- a/src/mongo/db/query/optimizer/index_bounds.cpp +++ b/src/mongo/db/query/optimizer/index_bounds.cpp @@ -152,8 +152,8 @@ bool PartialSchemaRequirement::getIsPerfOnly() const { return _isPerfOnly; } -bool PartialSchemaRequirement::mayReturnNull() const { - return hasBoundProjectionName() && checkMaybeHasNull(getIntervals()); +bool PartialSchemaRequirement::mayReturnNull(const ConstFoldFn& constFold) const { + return hasBoundProjectionName() && checkMaybeHasNull(getIntervals(), constFold); }; /** |