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

Too long error message from SQL Server causes crash of QSqlQuery

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.1
    • 4.5.1
    • SQL Support
    • None
    • Win XP, x64, ODBC MS SQL Server
    • 82ec0a6c26c683dedd20fb6dd3923dce98c3f7e3

    Description

      The stored procedure returned a very long error message (an exception text thrown form from a manages stored procedure). Possibly it could have like 2000 characters. It caused a crash (memory acces violation) of QSqlQuery::exec during processing the error message inside qsql_odbc.cpp file function qWarnODBCHandle, line 195 or 197, can't remember.

      Attachments

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

        Activity

          People

            bilking Bill King
            sulkowskia Aleksander Sulkowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes