Scripting/Squirrel/Functions/mysql free result: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
== Related Functions == | == Related Functions == | ||
{{Scripting/Squirrel/Functions/ | {{Scripting/Squirrel/Functions/MySQL Functions}} | ||
[[Category:Scripting/Squirrel/Functions/Mysql_Functions]] | [[Category:Scripting/Squirrel/Functions/Mysql_Functions]] |
Latest revision as of 18:28, 30 January 2017
Frees the last query result. This function should be called after every query, specially when these queries return any data.
Syntax
mysql_free_result( MySQLQuery query )
Arguments
- MySQLQuery query - A valid MySQL result
Return value
This function doesn't return any value.( null )
Example
local c = mysql_query(handler,"SELECT * FROM Accounts"); //Do stuff here mysql_free_result( c );