Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-742

client::database() should raise an exception if client is unitialized

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.0.0-rc0
    • 0.2.0
    • API
    • None

    Description

      If the database method of the client class is called for a client that is not properly initialized, the call segfaults. A check should be added for this condition and the error should be handled gracefully.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            sdeerwester Scott Deerwester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: