diff options
author | Amr Elhelw <amr.elhelw@mongodb.com> | 2023-03-13 21:37:17 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-14 02:26:43 +0000 |
commit | b97c66ded102f70b88bbcb2d75d7309dd73c0910 (patch) | |
tree | 0c1c499586c3a736f252c15eca6f9ac9cf8ae8f7 /src/mongo/db/query/query_solution.cpp | |
parent | 2d24e77b9576d0b2f4320810f22c2b81abaaf57f (diff) | |
download | mongo-b97c66ded102f70b88bbcb2d75d7309dd73c0910.tar.gz |
SERVER-54578 Rename MatchExpression::shallowClone() to MatchExpression::clone()
Diffstat (limited to 'src/mongo/db/query/query_solution.cpp')
-rw-r--r-- | src/mongo/db/query/query_solution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_solution.cpp b/src/mongo/db/query/query_solution.cpp index c321132e89b..c59969e3dc3 100644 --- a/src/mongo/db/query/query_solution.cpp +++ b/src/mongo/db/query/query_solution.cpp @@ -1256,7 +1256,7 @@ void ProjectionNode::computeProperties() { void ProjectionNode::cloneProjectionData(ProjectionNode* copy) const { // ProjectionNode should not populate filter. This should be a no-op. if (this->filter) - copy->filter = this->filter->shallowClone(); + copy->filter = this->filter->clone(); copy->sortSet = this->sortSet; } |