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

mongoc_server_description_host should return const pointer

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • 2.0.0
    • 1.4.0
    • libmongoc
    • None
    • Major Change

    Description

      Releasing a function with this signature was a mistake:

      mongoc_host_list_t *
      mongoc_server_description_host (const mongoc_server_description_t *description)
      

      The host list should be const.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: