SA-MP Forums Archive
MYSQL Thread - 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 Thread (/showthread.php?tid=313143)



MYSQL Thread - Ricop522 - 24.01.2012

solveeddd


Re: MYSQL Threat - T0pAz - 24.01.2012

Did you mean Thread? Please elaborate.


Re: MYSQL Thread - Ricop522 - 24.01.2012

Thanks for reply T0pAz.

Yes, thread
I want a example, how to use, what this will make in my script.
Example, I have 120 players playing on my server, what can I do to mysql don't make freeze.
Do I need to use thread on UPDATE, INSERT or just SELECT(I think just select, yes?)
What's the syntax to use mysql_query with thread?


Re: MYSQL Thread - T0pAz - 24.01.2012

From what I know, thread has been already implemented on Mysql plugin by G-Style and all the functions are on different threads by default. But you might wanna test it by executing mysql query twice at the same time.