diff options
author | Svilen Mihaylov <svilen.mihaylov@mongodb.com> | 2022-10-18 18:51:26 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-10-18 20:24:54 +0000 |
commit | 5e5d1f9d743ccbc1bb23266b75dc4f7af105c1d9 (patch) | |
tree | f9b769a9913e960d49b0926ece06c6a136d13f92 /src/mongo/db/query/optimizer/index_bounds.cpp | |
parent | 3a9e3e4462c9e16bdc8ce30c75cd5db71ad19b2f (diff) | |
download | mongo-5e5d1f9d743ccbc1bb23266b75dc4f7af105c1d9.tar.gz |
SERVER-70470 [CQF] Modularize core optimizer
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); }; /** |