Interested in improving this site? Please check the To Do page.
mysql.getProtocolInfo
Get an integer representing the protocol version used by the current connection
Syntax
mysql.getProtocolInfo(dbid)
Params
A database connection id
Returns
An integer containing the protocol version used by current connection
Examples
dialog.alert("Protocol info: " + mysql.getProtocolInfo(id))
ยป Protocol info: 10
Notes
Returns an integer. This call is unlikely to be used by the Frontier scripter, but provided for completeness and because it was easy to code.