[SERVER-30775] Remove dbName as an argument to parseNsFullyQualified Created: 22/Aug/17  Updated: 30/Oct/23  Resolved: 27/Mar/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.7.4

Type: Improvement Priority: Minor - P4
Reporter: Joanna Huang Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-04-09
Participants:

 Description   

parseNsFullyRequired in commands.cpp/h originally used the dbname for verification but it no longer does. There is no need for the dbname parameter anymore.
https://github.com/mongodb/mongo/blob/master/src/mongo/db/commands.cpp#L93



 Comments   
Comment by Githook User [ 27/Mar/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-30775 remove dbname from CommandHelpers::parseNsFullyQualified
Branch: master
https://github.com/mongodb/mongo/commit/2f9566aefb7edf9e03c187ed092c0427655816ec

Comment by Billy Donahue [ 23/Mar/18 ]

Assuming this means parseNsFullyQualified?

https://github.com/mongodb/mongo/blob/82b6d9b43196760a0efbe3b06c3b5d521900d304/src/mongo/db/commands.cpp#L131

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