mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-11 04:28:41 +01:00
Core/DB Layer: Make SQLTransaction AutoPtr thread safe (valgrind caught a race condition)
This commit is contained in:
@@ -47,7 +47,7 @@ class Transaction
|
||||
bool _cleanedUp;
|
||||
|
||||
};
|
||||
typedef Trinity::AutoPtr<Transaction, ACE_Null_Mutex> SQLTransaction;
|
||||
typedef Trinity::AutoPtr<Transaction, ACE_Thread_Mutex> SQLTransaction;
|
||||
|
||||
/*! Low level class*/
|
||||
class TransactionTask : public SQLOperation
|
||||
|
||||
Reference in New Issue
Block a user