mirror of
https://github.com/mangosfour/server.git
synced 2025-12-23 07:37:01 +00:00
[6920] Cleaned up DatabaseImpl and added support for async queries with 3 parameters passed to the callback.
This commit is contained in:
parent
162ca267f1
commit
5ba3796480
6 changed files with 126 additions and 117 deletions
|
|
@ -40,7 +40,7 @@ class SqlDelayThread : public ZThread::Runnable
|
|||
SqlDelayThread(Database* db);
|
||||
|
||||
///< Put sql statement to delay queue
|
||||
inline void Delay(SqlOperation* sql) { m_sqlQueue.add(sql); }
|
||||
inline bool Delay(SqlOperation* sql) { m_sqlQueue.add(sql); return true; }
|
||||
|
||||
virtual void Stop(); ///< Stop event
|
||||
virtual void run(); ///< Main Thread loop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue