[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: |
|
||||||||
| 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 |