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

Document lifetime of items added to mongoc_find_and_modify_opts_t

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • docs
    • None

    Description

      The various functions on mongoc_find_and_modify_opts_t don't say whether the update, sort, etc. documents need to survive until after the options structure is used/destroyed. Reading the code, they appear to copy. Please make that explicit in the documentation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: