[CDRIVER-618] mongoc_database_get_collection_names returns non-NULL on err Created: 14/Apr/15  Updated: 12/May/15  Resolved: 29/Apr/15

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

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

The doc for mongoc_database_get_collection_names says it returns NULL, but if we arrange for a network err during the query or listCollections command, the function returns a non-NULL array of strings with no entries.



 Comments   
Comment by Githook User [ 29/Apr/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-618 get_collection_names returns NULL on err
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/cf1bf7bd9fd79a64381df7c609657654294c149d

Comment by Githook User [ 29/Apr/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-618 show collection names aren't NULL on err
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/efd15eb52b73eda01ddda88951ce91c8890c5b81

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