Scripting/Squirrel/Functions/mysql free result

From Vice City Multiplayer
Revision as of 19:48, 4 March 2016 by KAKAN (talk | contribs) (Created page with "Frees the last query result. This function should be called after every query, specially when these queries return any data. == Syntax == <pre>mysql_free_result( MySQLQuery q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

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 );

By KAKAN