mysql_get_proto_info - mariadb-corporation/mariadb-connector-c GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️