[SERVER-29784] remove duplicate string literal in collection impl Created: 21/Jun/17  Updated: 30/Oct/23  Resolved: 22/Jun/17

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

Type: Improvement Priority: Trivial - P5
Reporter: Gregory Wlodarek Assignee: Ian Kuehne
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage 2017-07-10
Participants:

 Description   

In collection_impl.cpp there is a string created twice with the exact same message. It would be better to remove a copy.

See collection_impl.cpp

string msg = "One or more indexes contain invalid index entries.";



 Comments   
Comment by Githook User [ 22/Jun/17 ]

Author:

{u'name': u'Ian Kuehne', u'email': u'ian.kuehne@mongodb.com'}

Message: SERVER-29784 Fix duplicate error message.
Branch: master
https://github.com/mongodb/mongo/commit/1aa8b0fcfda985c6b76acba5cb662e8e2e2862da

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