Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6695

Bad column name for UCS2 string literals

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.12, 5.5.39, 10.0.13
    • Fix Version/s: 10.0.14
    • Component/s: None
    • Labels:
      None

      Description

      MariaDB [test]> set names utf8, character_set_connection=ucs2; select 'a','aa';
      Query OK, 0 rows affected (0.00 sec)
      
      +---+-----+
      |   | 愀  |
      +---+-----+
      | a | aa  |
      +---+-----+
      1 row in set (0.00 sec)
      

      Column names are bad.
      The expected names for the first and the second columns should be 'a' and 'aa' respectively.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                bar Alexander Barkov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: