05.11.2012, 17:30
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.
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.