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

When running a query on a connection which has been disconnected, there is no error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 4.5.2
    • SQL Support
    • None

      Steps to reproduce / test case:

      Connect to a mysql database, shut down mysql, run a query. The query will fail, and lastError in QSqlQuery or QSqlDatabase will be set to NoError with an empty text string. Also, isOpen and isValid will both return true.

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

            andysh Andy Shaw
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes