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

QSqlError::type() really describes the context in which the error occurred, not the type of error.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.3.1
    • SQL Support
    • None

    Description

      QSqlError::type() describes the context in which the error occurred, not the type of the error - for example, if a query fails because the connection to the database server closed, the error type will beQSqlError::StatementError, not QSqlError::ConnectionError. It would be useful if there were some way for the SQL drivers to check the database error message and set the QSqlError type correctly.

      Attachments

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

        Activity

          People

            mabrand Mark Brand
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes