[CONC-21] update the client library to remove the fake version prefix Created: 2013-03-28  Updated: 2013-04-25  Resolved: 2013-04-25

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Sergei Golubchik Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to CONJ-32 update the connector to remove the fa... Closed
relates to MDEV-4088 Replication 10.0 -> 5.5 fails Closed

 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;



 Comments   
Comment by Georg Richter [ 2013-04-25 ]

Fixed in revision 55

Generated at Thu Feb 08 03:02:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.