SA-MP Forums Archive
MySQL nested queries - 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 nested queries (/showthread.php?tid=473997)



MySQL nested queries - SoulRipper113 - 05.11.2013

With the mysql samp plugin you must store the result everytime you execute a query AND want to save the results.

My doubt is, can you execute another query (and save its result) before freeing the first stored result?


Re: MySQL nested queries - Delta 4 - 05.11.2013

No u dont, if your query only needs to send data do the database and don't need to store info, u don't need mysql_store_result(), btw ur mysql plugin must be outdated, i think...


Re: MySQL nested queries - SoulRipper113 - 05.11.2013

Quote:
Originally Posted by Delta 4
Посмотреть сообщение
No u dont, if your query only needs to send data do the database and don't need to store info, u don't need mysql_store_result()
Yes, I meant ONLY when you do need to save the results