Scripting/Squirrel/Functions/mysql info: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "Retrieves a string providing information about the most recently executed statement. For more information, visit: http://dev.mysql.com/doc/refman/5.0/en/mysql-info.html == Sy...") |
(No difference)
|
Revision as of 14:22, 9 March 2016
Retrieves a string providing information about the most recently executed statement. For more information, visit: http://dev.mysql.com/doc/refman/5.0/en/mysql-info.html
Syntax
mysql_info( handler )
Arguments
- MySQLHandler handler - A working MySQL link/connection.
Example
function onScriptLoad( ) { local conn = mysql_connect("localhost", "test", "test", "test"); if ( conn ) { mysql_query(conn, "UPDATE benchmark SET testFloat = 123.45 WHERE testInt = 0"); print( mysql_info(conn) ); } }