Raised This Month: $ Target: $400
 0% 

Threaded query


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 10-14-2010 , 10:06   Re: Threaded query
Reply With Quote #4

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
__________________
Impossible is Nothing
Sylwester is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode