aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/Transaction.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-09-02 17:47:50 +0200
committerMachiavelli <none@none>2010-09-02 17:47:50 +0200
commit0117af4c37324eac2c70bc249899c19b8dcb7b80 (patch)
treee47c44854b8bca2bb5037bff0d8a16f53c1f1b8b /src/server/shared/Database/Transaction.h
parent39f901d5660136f69c6252f4a21153d9f5d0732b (diff)
Core/DBLayer:
- Implement deriviate classes of MySQLConnection for every database type (world, realm, characters) - Make DatabaseWorkerPool templatized and use the above mentioned classes as parameter - Implementation of the new types in code (This is in preparation of prepared statement interface) --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/Transaction.h')
-rw-r--r--src/server/shared/Database/Transaction.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/shared/Database/Transaction.h b/src/server/shared/Database/Transaction.h
index e94ca053e32..58c87b61270 100644
--- a/src/server/shared/Database/Transaction.h
+++ b/src/server/shared/Database/Transaction.h
@@ -19,6 +19,8 @@
#ifndef _TRANSACTION_H
#define _TRANSACTION_H
+#include "SQLOperation.h"
+
/*! Transactions, high level class. */
class Transaction
{
@@ -43,7 +45,7 @@ typedef ACE_Refcounted_Auto_Ptr<Transaction, ACE_Null_Mutex> SQLTransaction;
/*! Low level class*/
class TransactionTask : public SQLOperation
{
- friend class DatabaseWorkerPool;
+ template <class T> friend class DatabaseWorkerPool;
friend class DatabaseWorker;
public: