Modules/MTA-MySQL/mysql get proto info

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Package-x-generic.png This function is provided by the external module MTA-MySQL. You must install this module to use this function.

Returns an integer representing the protocol version used by current connection.

Syntax

int mysql_get_proto_info ( MySQLConnection handler )

Required arguments

  • handler: A valid MySQL link

Returns

The protocol version used by current connection.

See also