You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Return correct client library version number instead of
server number in mysql_get_client_versio
This commit is contained in:
@@ -3881,7 +3881,7 @@ int STDCALL mysql_set_server_option(MYSQL *mysql,
|
|||||||
|
|
||||||
ulong STDCALL mysql_get_client_version(void)
|
ulong STDCALL mysql_get_client_version(void)
|
||||||
{
|
{
|
||||||
return MARIADB_VERSION_ID;
|
return MARIADB_PACKAGE_VERSION_ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
ulong STDCALL mysql_hex_string(char *to, const char *from, unsigned long len)
|
ulong STDCALL mysql_hex_string(char *to, const char *from, unsigned long len)
|
||||||
|
Reference in New Issue
Block a user