[CDRIVER-2795] mongoc_change_stream_error_document should null the doc argument when no error Created: 13/Aug/18  Updated: 28/Oct/23  Resolved: 13/Aug/18

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

Type: Bug Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For consistency with mongoc_cursor_error_document, mongoc_change_stream_error_document should set the bson_t document argument to NULL if there is no error.



 Comments   
Comment by Githook User [ 13/Aug/18 ]

Author:

{'username': 'kevinAlbs', 'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2795 fix skip
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/9d72fc0c8a608e95956c8546728c25c666bb84c9

Comment by Githook User [ 13/Aug/18 ]

Author:

{'username': 'kevinAlbs', 'email': 'kevin.albertson@10gen.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2795 set error doc to NULL when no err
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/534814699bfbf3dd53ba0543d5c356f3dc6da4eb

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