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

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

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes