TrinityCore/TrinityCore — comment on commit e646dbb3cdae041ae1ead8e5bdd456ce600ee9a5
File: src/server/game/Groups/Group.cpp line 1654
By LihO:

notice InstanceSaveManager::DeleteInstanceFromDB(uint32 instanceid) method in InstanceSaveMgr.cpp line 124
trans->PAppend("DELETE FROM group_instance WHERE instance = '%u'", instanceid); is there
... but that 3 statements have no reason to be in a transaction, this transaction is incorrect anyway -> there is possible deadlock because of locking index 'instance'... these 3 statements should be rewritten into .AsyncQuery calls I guess and here you can use this CHAR_DEL_GROUP_INSTANCE_BY_INSTANCE ;)