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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes