Documentation Home
MySQL 5.6 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.0Mb
PDF (A4) - 1.0Mb
HTML Download (TGZ) - 129.9Kb
HTML Download (Zip) - 152.8Kb


7.30 mysql_get_proto_info()

unsigned int
mysql_get_proto_info(MYSQL *mysql)

Description

Returns the protocol version used by current connection.

Return Values

An unsigned integer representing the protocol version used by the current connection.

Errors

None.