Uploaded image for project: 'MariaDB Connector/R2DBC'
  1. MariaDB Connector/R2DBC
  2. R2DBC-91

ensure respecting server collation

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • configuration
    • None

    Description

      Connector use utf8mb4 in all exchanges.
      The problem is that current implementation use server truncated collation id in handshake packet. The problem is that when mariadb didn't have lots of collation, a single byte was ok. Since mysql8 and particulary for mariadb since MDEV-27009 that have huge amount of collation, relying on this value is not a good solution.

      New implementation must execute "SET NAMES utf8mb4" by default, ensuring that utf8mb4 will be the charset use in exchange, indicating to server to use correct collation.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                0d
                Logged:
                Time Not Required
                Not Specified

                Git Integration

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