aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/Transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Database/Transaction.h')
-rw-r--r--src/server/shared/Database/Transaction.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/server/shared/Database/Transaction.h b/src/server/shared/Database/Transaction.h
index 805d48f76cf..026cc1fdf96 100644
--- a/src/server/shared/Database/Transaction.h
+++ b/src/server/shared/Database/Transaction.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -29,6 +29,9 @@ class Transaction
friend class TransactionTask;
friend class MySQLConnection;
+ template <typename T>
+ friend class DatabaseWorkerPool;
+
public:
Transaction() : _cleanedUp(false) {}
~Transaction() { Cleanup(); }
@@ -65,4 +68,4 @@ class TransactionTask : public SQLOperation
SQLTransaction m_trans;
};
-#endif \ No newline at end of file
+#endif