05.11.2012, 17:33
Quote:
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. |
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?