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

Cursor protocol cuts off the end of string with the utf8 character set in INSERT function

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.9, 10.10, 11.0, 11.1, 11.2
    • 10.4, 10.5, 10.6, 11.1, 11.2
    • None
    • None

    Description

      Testcase (run MTR test with --cursor-protocol):

      SELECT HEX(INSERT(_utf8 0xD18FD18E, 2, 1, 0x20));
      

      Expected result:

      HEX(INSERT(_utf8 0xD18FD18E, 2, 1, 0x20))
      D120D18E
      

      Actual result:

      HEX(INSERT(_utf8 0xD18FD18E, 2, 1, 0x20))
      D120D1
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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