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

remove reply_local in mongoc_collection_find_and_modify_with_opts

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.4.0
    • None
    • libmongoc
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: