Threaded Queries - BlueG's MYSQL Plugin R7
#3

Quote:
Originally Posted by AndreT
View Post
Any query you send in MySQL plugin R7 (and versions beyond) are threaded. This does not mean that every query gets its own thread or something contrary to popular belief, it actually means that the query is executed in a secondary thread.

As soon as the query is finished, the plugin will call amx to execute a callback in any attached script. Whether you specify connection handle or not is highly irrelevant unless you're dealing with many connections. And yes, even then, the queries will be executed in the second thread.

2. That query looks fine to me.
Oh my Thanks for replying mate. I was reading your thread as well about the Caching. That is new as well as a little confusing for me to get it in one go?

Okay but what exactly does this mean "query is executed in a secondary thread."

I get the concept that threaded queries will keep the server on execution and then calls the samp server again once the query is finished with the result? Is this what actually threaded queries means?

BTW can that query be called as a threaded query?
Reply


Messages In This Thread
Threaded Queries - BlueG's MYSQL Plugin R7 - by Ballu Miaa - 05.11.2012, 17:23
Re: Threaded Queries - BlueG's MYSQL Plugin R7 - by AndreT - 05.11.2012, 17:30
Re: Threaded Queries - BlueG's MYSQL Plugin R7 - by Ballu Miaa - 05.11.2012, 17:33
Re: Threaded Queries - BlueG's MYSQL Plugin R7 - by AndreT - 05.11.2012, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)