[SERVER-27384] Deduplicate two `mongo::Command` classes Created: 12/Dec/16  Updated: 05/Apr/17  Resolved: 13/Dec/16

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

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-23103 Make library dependency graph acyclic Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-01-23
Participants:

 Description   

There are two `mongo::Command` classes, which perform different functions and have different purposes. They will cause ODR violations in future linking. Some member function names are also duplicated, further compounding the duplicate symbol problem.



 Comments   
Comment by Githook User [ 12/Dec/16 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-27384 Deduplicate `class mongo::Command`.

There are two `mongo::Command` classes which perform different
functions and have different purposes. They will cause ODR
violations in future linking. Some meber function names are also
duplicated, further compounding the duplicate symbol problem.

This change alters the name of one of the `mongo::Command` classes
to something which doesn't collide.
Branch: master
https://github.com/mongodb/mongo/commit/d961eb8cade2b41b2a241d95d4c1d19418a5a033

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