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

update the connector to remove the fake version prefix

    XMLWordPrintable

Details

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

    Description

      After MDEV-4088 the version string in the first server handshake packet has a fake version prefix. The connector should remove it and only show the real version to the client. It could be done as

        if (mysql->server_capabilities & CLIENT_PLUGIN_AUTH &&
            strncmp(mysql->server_version, "5.5.5-", 6) == 0)
          mysql->server_version+= 6;

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              serg Sergei Golubchik
              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.