Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29784

remove duplicate string literal in collection impl

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage 2017-07-10

      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.";
      

            Assignee:
            ian.kuehne Ian Kuehne
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: