[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: SERVER-32846 NamespaceString: add and remove relational operators

relops for NamespaceString

fix client sites relying on NamespaceString vs string
Branch: master
https://github.com/mongodb/mongo/commit/90fa214a651f42185ae660091f599edf3bb422e4

Generated at Thu Feb 08 04:31:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.