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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.0-rc0
    • Affects Version/s: 0.2.0
    • Component/s: API
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: