[SERVER-73939] MatchExpression::debugString() should print new line consistently Created: 13/Feb/23 Updated: 29/Oct/23 Resolved: 20/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rui Liu | Assignee: | Adi Agrawal |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Execution
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QE 2023-02-20, QE 2023-03-06, QE 2023-03-20, QE 2023-04-03 |
| Participants: |
| Description |
|
Some of the debugString method of match expressions have newline printed, but some don't. https://github.com/10gen/mongo/blob/1b27b42504f05c5c8502b83c4d489230eb85c048/src/mongo/db/matcher/expression_expr.cpp#L80-L83 This prints unintuitive string if we have an $and expression over a list of them. We should unify them to make sure they print out consistent newlines. |
| Comments |
| Comment by Githook User [ 20/Mar/23 ] |
|
Author: {'name': 'Adityavardhan Agrawal', 'email': 'adi.agrawal@mongodb.com', 'username': 'Adityav369'}Message: |