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

mongoc_database_get_collection_names returns non-NULL on err

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.1.5
    • 1.1.4
    • None
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: