21.07.2012, 06:47
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?
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?