SA-MP Forums Archive
mysql simple hjelp - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql simple hjelp (/showthread.php?tid=387804)



mysql simple hjelp - Fernado Samuel - 26.10.2012

Removed


Re: mysql simple hjelp - iggy1 - 26.10.2012

Use it when you have stored a result, used it, and don't need it anymore.

If you use:
pawn Код:
mysql_store_result();
The result is stored in memory and is not freed until mysql_free_result() is called.


Re: mysql simple hjelp - ReneG - 26.10.2012

Adding to the above post, if you use the cache_functions, results are automatically stored and free'd. They are also generally faster than the mysql_fetch functions.