Oracle 5.0 Reference Manual page 2178

Table of Contents

Advertisement

}
20.6.6.27.
mysql_get_client_info()
const char *mysql_get_client_info(void)
Description
Returns a string that represents the client library version.
Return Values
A character string that represents the MySQL client library version.
Errors
None.
20.6.6.28.
mysql_get_client_version()
unsigned long mysql_get_client_version(void)
Description
Returns an integer that represents the client library version. The value has the format
is the major version,
example, a value of
Return Values
An integer that represents the MySQL client library version.
Errors
None.
20.6.6.29.
mysql_get_host_info()
const char *mysql_get_host_info(MYSQL *mysql)
Description
Returns a string describing the type of connection in use, including the server host name.
Return Values
A character string representing the server host name and the connection type.
Errors
None.
20.6.6.30.
mysql_get_proto_info()
unsigned int mysql_get_proto_info(MYSQL *mysql)
Description
Returns the protocol version used by current connection.
C API Function Descriptions
is the release level, and
YY
represents a client library version of 4.1.2.
40102
is the version number within the release level. For
ZZ
2158
where
XYYZZ
X

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents