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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5: Not important
    • Resolution: Invalid
    • Affects Version/s: 3.x
    • Fix Version/s: Some future release
    • Component/s: SQL Support
    • Labels:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              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