Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-1542

Invalid data from UTF16 strings in avrorouter

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 2.1.11
    • N/A
    • avrorouter
    • None
    • 2017-49

    Description

      The avrorouter doesn't work when the utf16 character set is used. The following test case should generate the proper output but it produces empty strings instead.

      CREATE TABLE t1 (data varchar(30) NOT NULL) DEFAULT CHARSET=utf16;
      INSERT INTO t1 VALUES ("Hello World"), ("Բարեւ աշխարհ"), ("こんにちは世界"), ("你好,世界"), ("Привет мир");
      

      Changing the charset to utf8mb4 generates correct output.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.