[SERVER-10699] Improve NamespaceString usability Created: 06/Sep/13  Updated: 11/Jul/16  Resolved: 06/Sep/13

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.5.2

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

NamespaceString lacks a default constructor, a 2-parameter (DB, Coll) constructor, imports std::string into the mongo namespace, and does some unnecessary string copying. It would be an improvement to code readability in other parts of the system to rectify these behaviors.



 Comments   
Comment by Andy Schwerin [ 06/Sep/13 ]

https://github.com/mongodb/mongo/commit/a49945291704d4554584461ff1217cb3933782a6

Comment by auto [ 06/Sep/13 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-10699 Minor clean-up of NamespaceString.
Branch: master
https://github.com/mongodb/mongo/commit/1529c13b783c412aee225e8a25f25882016909d2

Generated at Thu Feb 08 03:23:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.