[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: |