1mysql_get_client_version(3) MariaDB Connector/C mysql_get_client_version(3)
2
3
4
5 Name
6 mysql_get_client_version - returns client version number
7
8 Synopsis
9 unsigned long mysql_get_client_version(void);
10
11 Description
12 Returns a number representing the client library version. The value
13 has the format XXYYZZ: major version * 10000 + minor version * 100 +
14 patch version. ### Notes * To obtain a string containing the client
15 library version use the mysql_get_client_info(3) function. * Note:
16 Since MariaDB Server 10.2.6 and MariaDB Connector/C 3.0.1 the client
17 library is bundled with server package and returns the server package
18 version. To obtain the client version of the connector, please use the
19 constant MARIADB_PACKAGE_VERSION_ID
20
21 Return value
22 A long integer representing the client version
23
24 See also
25 • mysql_get_client_info(3)
26
27
28
29Version 3.3.1 mysql_get_client_version(3)