[CONC-509] mysql_get_client_version should return C/C version, not server version Created: 2020-10-22 Updated: 2021-08-09 Resolved: 2021-05-31 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.1.10 |
| Fix Version/s: | 3.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The function mysql_get_client_info returns MARIADB_VERSION_ID which returns the server version instead of the actual connector version. Instead of mysql_get_client_info should return MARIADB_PACKAGE_VERSION_ID. |
| Comments |
| Comment by Adam Majer [ 2021-08-09 ] |
|
This commit broke 3rd party software https://bugreports.qt.io/browse/QTBUG-95071 If doing changes that break the API, maybe introducing a new function would be better and keep the legacy versions as-is. |