1
0
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:
Georg Richter
2023-01-16 14:14:59 +01:00
parent d712484dab
commit d204e83104

View File

@@ -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)