You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MariaDB Connector/C 3.1.10 changed API of mysql_get_client_version()
function. Before that release it returned client version. With that release
it started returning Connector/C package version.
So when compiling with MariaDB Connector/C client library, redefine
mysql_get_client_version() to always returns client version via function
mariadb_get_infov(MARIADB_CLIENT_VERSION_ID) call.
Driver code expects for a long time that mysql_get_client_version() call
returns client version and not something different.
Function mariadb_get_infov() is supported since MariaDB Connector/C 3.0+.
Fixes: perl5-dbi/DBD-mysql#333
0 commit comments