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

QODBC can't work with OpenLink SQLServer Driver (Express Edition)(Unicode) v6.0 on Mac OS X 10.6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 4.6.0
    • SQL Support
    • None
    • Mac OS X 10.6.2, Qt 4.6.0, OpenLink SQLServer Driver (Express Edition)(Unicode) v6.0
    • macOS

    Description

      I'm using OpenLink ODBC driver on Mac OS X 10.6. I found in the qsql_odbc.cpp driver file, the function:
      static QString qGetStringData(SQLHANDLE hStmt, int column, int colSize, bool unicode = false)

      has unicode problem with OpenLink driver. It's because the driver returned 4 bytes unicode instead of 2 bytes.

      I am not sure is a bug of QSql or OpenLink driver, but it's the only way to make program running.

      Attachments

        Issue Links

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

          Activity

            People

              mgoddard Michael Goddard (closed Nokia identity) (Inactive)
              zhaoy@motic.com ZhaoYu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes