Using SQL_Execute with threaded queries is wrong.
QueryStartup function is not a startup for query.
You start query when you call SQL_ThtreadQuery.
When QueryStartup function is called, it means that you have already received reply from sql database.
Check this complete example (it's using sqlite, but it's really easy to convert it to mysql):
http://forums.alliedmods.net/showthr...66#post1204466
__________________