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

Document lifetime of items added to mongoc_find_and_modify_opts_t

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: