Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1202

Session variable setting must be executed last

    XMLWordPrintable

Details

    Description

      There is a difference between 2.x and 3.x behavior concerning session variables:
      Connector after creating a connection execute an additional SQL command to set different things, mostly to ensure corresponding to JDBC default.
      To simplify, that command is something like

      SET autocommit=1, ..., <session variables>, NAMES utf8mb4
      

      So session variables explicitly changing charset will be ignored using utf8mb4.
      Goal here is just to set session variable at the end of this initialization command, to ensure user explicitly session variables will always be set.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            1 Vote for this issue
            Watchers:
            2 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.