diff options
author | Machiavelli <none@none> | 2010-08-18 19:48:51 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-08-18 19:48:51 +0200 |
commit | d845a903b10b0788b03131a0cb1a2e72f55adc07 (patch) | |
tree | 44c8e0ea6ae88217167d05203378a3324572cee5 /src/server/shared/Database/QueryResult.cpp | |
parent | 2ffe785765e3812e442d246f9561cebd83a008cb (diff) |
DBLayer:
- Use ACE_Future and ACE_Future_Set for async SQL queries with callback
* Callbacks will now be executed from the thread and object that scheduled the request, instead of the world runnable thread (and thus are no longer dependent on the 50ms forced sleep time).
* This design gets rid of a potential DOS loophole in the resultqueue system - unique requests will be cancelled when re-requested.
- Drop now redundant SQLQueryTask, SQLResultQueue, SQLResultQueueTask operations.
- Drop now redundant CharacterHandler class
- Change static callback functions in WorldSession to normal functions.
Thanks to Derex and Zor for advice along the way.
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/Database/QueryResult.cpp')
0 files changed, 0 insertions, 0 deletions