aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Database/DatabaseMysql.h
diff options
context:
space:
mode:
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;