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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes