Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1381

remove reply_local in mongoc_collection_find_and_modify_with_opts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: libmongoc
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      In mongoc_collection_find_and_modify_with_opts, we keep and modify a local reply within the function, and then copy the contents to the reply passed in as an argument. This is inefficient, instead we will just modify the reply argument.

        Attachments

          Activity

            People

            Assignee:
            fiona.rowan Fiona Rowan
            Reporter:
            fiona.rowan Fiona Rowan
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: