Threaded Processes in MySQL - 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: Threaded Processes in MySQL (
/showthread.php?tid=361467)
Threaded Processes in MySQL -
ReneG - 21.07.2012
When people say BlueG's mysql plugin has threaded queries, does that mean every query runs on a separate thread, while being separate from the server? Or is the query system single-threaded, but just runs a on a separate thread from the server.
Basically, if I have more than 1 insert query, in 2 different tables, is there a possibility that mysql_insert_id(); will return the autoincrement id from another table instead? Or are queries' code only ran in order as they are called with mysql_function_query?