mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/DBLayer: Prevent committing transactions started on a different database
This commit is contained in:
@@ -553,7 +553,7 @@ void ReputationMgr::LoadFromDB(PreparedQueryResult result)
|
||||
}
|
||||
}
|
||||
|
||||
void ReputationMgr::SaveToDB(SQLTransaction& trans)
|
||||
void ReputationMgr::SaveToDB(CharacterDatabaseTransaction& trans)
|
||||
{
|
||||
for (FactionStateList::iterator itr = _factions.begin(); itr != _factions.end(); ++itr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user