Once SERVER-87277 removes the copy of the BSONObj in leaf MatchExpression nodes, many unit tests fail because they were relying on this behavior. The task of this ticket is to modify unit tests to ensure that BSONObj representing a MatchExpression outlives any MatchExpression which was build using that BSON.
- is depended on by
-
SERVER-87277 Reduce CanonicalQuery creation overhead by avoiding BSONObj creation
- Closed