Core/DBLayer: Prevent committing transactions started on a different database
This commit is contained in:
1 parent
d003ebd8e4
commit
47acc59f49
75 files changed
+406
-379
No files matched your search
@@ -962,7 +962,7 @@ void PoolMgr::LoadQuestPools()
|
||||
|
||||
void PoolMgr::SaveQuestsToDB()
|
||||
{
|
||||
SQLTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
|
||||
for (PoolGroupQuestMap::iterator itr = mPoolQuestGroups.begin(); itr != mPoolQuestGroups.end(); ++itr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user