[CDRIVER-1384] mongoc_write_concern_append Created: 15/Jul/16 Updated: 10/Aug/16 Resolved: 22/Jul/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.4.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Fiona Rowan |
| Resolution: | Done | Votes: | 0 |
| Labels: | intern2016 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Description |
|
Since we are not providing a generic command function that takes a write concern parameter (that is, there is no mongoc_client_command_with_write_concern), users must choose to manually append a "writeConcern" subdocument to the command document before calling a generic function like mongoc_client_command. Let's help them:
The passed-in write_concern is conceptually const, but not actually const so that we can call _mongoc_write_concern_freeze on it. |
| Comments |
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}Message: Merge pull request #356 from fionaRowan/
|
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}Message: Merge pull request #356 from fionaRowan/
|
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'name': u'Fiona Rowan', u'email': u'fiona.rowan@10gen.com'}Message: |
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #353 from fionaRowan/
|
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@emptysquare.net'}Message: Merge pull request #353 from fionaRowan/
|
| Comment by Githook User [ 22/Jul/16 ] |
|
Author: {u'name': u'Fiona Rowan', u'email': u'fiona.rowan@10gen.com'}Message: |