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

Pass arguments in performUpdates, performInserts, and performDeletes by value

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-08-23

    Description

      PerformInserts, performUpdates, and performDeletes all accept OperationSource as a parameter by const reference. However, there is really no need to pass by const ref since OperationSource is an enum, so we should modify these functions to pass their parameters by value instead.

      Attachments

        Activity

          People

            kris.satya@mongodb.com Kris Satya (Inactive)
            kris.satya@mongodb.com Kris Satya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: