Skip to content

Commit

Permalink
Return correct client library version number instead of
Browse files Browse the repository at this point in the history
server number in mysql_get_client_versio
  • Loading branch information
9EOR9 committed Jan 16, 2023
1 parent d712484 commit d204e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmariadb/mariadb_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -3881,7 +3881,7 @@ int STDCALL mysql_set_server_option(MYSQL *mysql,

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)
Expand Down

0 comments on commit d204e83

Please sign in to comment.