[CDRIVER-492] mongoc never reports WriteConcern error Created: 23/Dec/14  Updated: 08/Jan/24  Resolved: 18/Feb/15

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

Type: Bug Priority: Blocker - P1
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-710 Wrong writeConcernErrors format Closed
is related to PHPC-113 WriteConcernError is just one error, ... Closed

 Description   

mongoc never reports WriteConcernError from the 2.6+ write commands



 Comments   
Comment by Hannes Magnusson [ 18/Feb/15 ]

This was fixed in 1.1.0

Comment by Githook User [ 07/Jan/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@mongodb.com'}

Message: CDRIVER-492: Report WriteConcern error on writes

Renamed the field, and fixed the failure check.
There can only ever be one WriteConcernError, which is a bson object
containing the code (int), errInfo (object) and errmsg (cstring),
so there is no arrays to merge.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/4d6caf2eb95662a18ece9c7ff7633ea6a81264e5

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