diff options
author | Machiavelli <none@none> | 2010-08-19 00:13:09 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2010-08-19 00:13:09 +0200 |
commit | 3932fc8c83f10c75ec4ea7a671218975de79a85c (patch) | |
tree | 553860faaa89d9d883d5253bc0962a3294051468 /src/server/shared/Database/SQLOperation.h | |
parent | fb9c6c96c73a12f261cfde3743337e83692ea426 (diff) |
- Fix Linux build (huge thanks to Aokromes for testing as always)
- Some work towards resolving the crash on shutdown by implementing a shutdown task
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/Database/SQLOperation.h')
-rw-r--r-- | src/server/shared/Database/SQLOperation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/shared/Database/SQLOperation.h b/src/server/shared/Database/SQLOperation.h index 0bf08d3e3eb..a8238802e31 100644 --- a/src/server/shared/Database/SQLOperation.h +++ b/src/server/shared/Database/SQLOperation.h @@ -31,13 +31,12 @@ class SQLOperation : public ACE_Method_Request { public: SQLOperation(){}; - int call() + virtual int call() { Execute(); return 0; } virtual bool Execute() = 0; - virtual void SetConnection(MySQLConnection* con) { m_conn = con; } MySQLConnection* m_conn; @@ -102,6 +101,7 @@ class SQLQueryHolderTask : public SQLOperation SQLQueryHolderTask(SQLQueryHolder *holder, QueryResultHolderFuture res) : m_holder(holder), m_result(res){}; bool Execute(); + }; |