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

Pass arguments in performUpdates, performInserts, and performDeletes by value

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-08-23

      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.

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

              Created:
              Updated:
              Resolved: