Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-223

Check if the database connection really is alive in isOpen()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P5: Not important
    • Some future release
    • 3.x
    • SQL Support
    • None

    Description

      Check if the database connection really is alive in isOpen(), this can be done using the driver specific functions.

      Currently, QSqlDatabase::isOpen() returns true even if the server has dropped the connection.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              anshaw Andy Shaw (closed Nokia identity) (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes