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

String ODBC Out parameters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2: Important
    • Resolution: Done
    • 4.7.1, 4.8.5, 5.2.1, 5.3.0 Beta1
    • 4.8.x, 5.3.0
    • SQL Support
    • None
    • Qt 5: d5ff16bc8ebf0f17fae3a28f08018db26567e81c (stable,3.4.2014, 5.3) Qt 4: 1ff6efe5ce1f0687d1ce44dcaa281fcbdfb90044 (4.8, 7.4.2014. 4.8.7)

    Description

      SQL ODBC driver: in the exec() function, in the section updating bound variables for QSql::Out variables, the handling for QVariant::String has a bug. In the case of unicode, it only removes an entry from tmpStorage if it was an out parameter. However, during the initial binding of parameters, an entry is added to tmpStorage regardless of parameter type.

      The result of this is that results of higher-index parameters can be returned to the wrong bound variable.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            ryan@enzosystems.com Ryan van der Bijl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes