mongoc_database_get_collection_names returns non-NULL on err

XMLWordPrintableJSON

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

      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:
            A. Jesse Jiryu Davis
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: