Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-21

update the client library to remove the fake version prefix

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

              Assignee:
              georg Georg Richter
              Reporter:
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration