Modules/MTA-MySQL/mysql get proto info: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ Returns an integer representing the protocol version used by current connection. ==Syntax== <syntaxhighlight lang="lua"> int mysql_get_proto_info ( MySQLConnection handler ) </syntaxhighlight> ===Requir...)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<pageclass class="#AA7592" subcaption="MTA-MySQL Module"></pageclass>
__NOTOC__
__NOTOC__
{{ModuleFunction|MTA-MySQL}}
Returns an integer representing the protocol version used by current connection.
Returns an integer representing the protocol version used by current connection.



Latest revision as of 17:43, 5 January 2011


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