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

add const to prepareUpdate function declaration

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • None
    • Fully Compatible
    • Execution Team 2019-10-07

    Description

      prepareUpdate() can be changed to const.

       

      Old Description: There is only one caller of validateUpdate() and update(). After SERVER-38027 is complete, both methods will be called one after the other and can be merged into a single update() method.

      Attachments

        Activity

          People

            haley.connelly@mongodb.com Haley Connelly
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: