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

QODBC: char fields treated as byte arrays if database does not support unicode conversions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.5.3
    • 4.5.0
    • SQL Support
    • None
    • c5fefd136d77b4721575c59e28f38ac7d9475f23

    Description

      The QODBC driver treats char fields as byte arrays if the connected database does not support unicode conversions.

      This will eventually lead to errors when Qt tries to update a char field with binary data.

      The QODBC driver seems to have code to handle string conversions in case the database does not support unicode, so it looks suspicious that the QODBC driver treats char fields as byte arrays by default in this case.

      Attachments

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

        Activity

          People

            wallison Warwick Allison (closed Nokia identity) (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes