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

[REG 5.6.2->5.8.0] MySQL driver fails on slovenian characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.8.0
    • SQL Support
    • None

    Description

      I found what looks like a regression in the MySQL plugin. While I could still normally read/write slovenian characters (for example '蚞ȊŽ') in 5.6.2 version, the same inserts fails with:

      + ErrStr Incorrect string value: '\x8E' for column 'Parameters' at row 1 QMYSQL3: Unable to execute statement INSERT INTO events (Source,Parameters,Start,End,Finished) VALUES (?,?,?,?,0)

      I pinned it down to QMySQLDriver::open, where you force the charset to utf8mb4 (didn't check which changeset is responsible) in MySQL server and client are ver 5.5.3 or later.

      Attachments

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

        Activity

          People

            mabrand Mark Brand
            buldozer Toni Rutar Lokar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes