Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-618

mongoc_database_get_collection_names returns non-NULL on err

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.5
    • Affects Version/s: 1.1.4
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      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.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: