summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_get_client_version.3
blob: 8c1fea4a6712035b5d02e5c376184a0f1d6a82d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_get_client_version" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_get_client_version \- returns client version number
.SS Synopsis
.IP
.nf
\f[C]
unsigned long mysql_get_client_version(void);
\f[R]
.fi
.SS Description
.PP
Returns a number representing the client library version.
The value has the format XXYYZZ: major version * 10000 + minor version *
100 + patch version.
### Notes * To obtain a string containing the client library version use
the \f[B]mysql_get_client_info(3)\f[R] function.
* Note: Since MariaDB Server 10.2.6 and MariaDB Connector/C 3.0.1 the
client library is bundled with server package and returns the server
package version.
To obtain the client version of the connector, please use the constant
\f[C]MARIADB_PACKAGE_VERSION_ID\f[R]
.SS Return value
.PP
A long integer representing the client version
.SS See also
.IP \[bu] 2
\f[B]mysql_get_client_info(3)\f[R]