[SERVER-34617] NamespaceString::db() should return whole ns() when it has no dots Created: 23/Apr/18  Updated: 29/Oct/23  Resolved: 23/Apr/18

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-05-07
Participants:

 Description   

Currently it returns an empty string in that case.



 Comments   
Comment by Githook User [ 23/Apr/18 ]

Author:

{'email': 'mathias@10gen.com', 'username': 'RedBeard0531', 'name': 'Mathias Stearn'}

Message: SERVER-34617 Make NamespaceString::db() return whole ns() when it has no dots
Branch: master
https://github.com/mongodb/mongo/commit/390d83a19828c50db5cdce1eed056d8aea1fb9ad

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