aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Database/DatabaseMysql.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-15 18:00:50 +0200
committerQAston <none@none>2009-05-15 18:00:50 +0200
commita796012723dd2410a150264a4f32f00bc570ef76 (patch)
treed55cada7db3c9c752815c79d9d164069acd99edc /src/shared/Database/DatabaseMysql.h
parentae461a4158d6376e28e7bc53d3f7ad5690a5064e (diff)
parentad92f5e210b7a2c0584cdabd30560fe723d160be (diff)
*Merge some fixes from tc1
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Database/DatabaseMysql.h')
-rw-r--r--src/shared/Database/DatabaseMysql.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/Database/DatabaseMysql.h b/src/shared/Database/DatabaseMysql.h
index 2fa157e75a5..7f5730f9579 100644
--- a/src/shared/Database/DatabaseMysql.h
+++ b/src/shared/Database/DatabaseMysql.h
@@ -25,7 +25,8 @@
#include "Database.h"
#include "Policies/Singleton.h"
-#include "zthread/FastMutex.h"
+#include "ace/Thread_Mutex.h"
+#include "ace/Guard_T.h"
#ifdef WIN32
#define FD_SETSIZE 1024
@@ -65,9 +66,9 @@ class TRINITY_DLL_SPEC DatabaseMysql : public Database
// must be call before finish thread run
void ThreadEnd();
private:
- ZThread::FastMutex mMutex;
+ ACE_Thread_Mutex mMutex;
- ZThread::ThreadImpl* tranThread;
+ ACE_Based::Thread * tranThread;
MYSQL *mMysql;