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

remove duplicate string literal in collection impl

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.5.10
    • Storage
    • None
    • Fully Compatible
    • Storage 2017-07-10

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: