[CDRIVER-1867] Document lifetime of items added to mongoc_find_and_modify_opts_t Created: 19/Oct/16  Updated: 03/May/17  Resolved: 19/Oct/16

Status: Closed
Project: C Driver
Component/s: docs
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CDRIVER-1699 Document that mongoc_find_and_modify... Closed

 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.



 Comments   
Comment by J Rassi [ 19/Oct/16 ]

Closing as a duplicate of CDRIVER-1699.

Generated at Wed Feb 07 21:13:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.