mysql_get_proto_info - Man Page

Name

mysql_get_proto_info - Returns protocol version number

Synopsis

#include <mysql.h>

unsigned int mysql_get_proto_info(MYSQL * mysql);

Description

Returns the protocol version number for the specified connection

Parameter

Notes

MariaDB Connector/C doesn’t support protocol version 9 and prior.

Return value

The protocol version number in use

See also

Referenced By

mysql_get_client_info(3).

Version 3.2.2 MariaDB Connector/C