[SERVER-32846] NamespaceString relational operators incomplete Created: 22/Jan/18 Updated: 30/Oct/23 Resolved: 29/Jan/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.2 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Billy Donahue | Assignee: | Billy Donahue |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
NamespaceString attempted to be comparable with std::string and with StringData, by lensing through its ns() accessor. However, it only had 6 of the 42 (!!!!) operators needed to do this symmetrically and umambiguously. Here are the other 36. https://mongodbcr.appspot.com/180610001/ |
| Comments |
| Comment by Githook User [ 24/Jan/18 ] |
|
Author: {'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}Message: relops for NamespaceString fix client sites relying on NamespaceString vs string |