25.06.2017, 19:31
Yes, the non-threaded mysql_query executes in the server thread. It is a blocking event which basically means the entire server is "on hold" while the query is executing. That means no callbacks and - most importantly - no sync. Result: lag.