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

remove reply_local in mongoc_collection_find_and_modify_with_opts

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: