aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Player.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 5afe15664e8..dfb4c078f04 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -21754,14 +21754,12 @@ void Player::_LoadGlyphs(QueryResult *result)
void Player::_SaveGlyphs()
{
- CharacterDatabase.BeginTransaction();
CharacterDatabase.PExecute("DELETE FROM character_glyphs WHERE guid='%u'",GetGUIDLow());
for (uint8 spec = 0; spec < m_specsCount; ++spec)
{
CharacterDatabase.PExecute("INSERT INTO character_glyphs VALUES('%u', '%u', '%u', '%u', '%u', '%u', '%u', '%u')",
GetGUIDLow(), spec, m_Glyphs[spec][0], m_Glyphs[spec][1], m_Glyphs[spec][2], m_Glyphs[spec][3], m_Glyphs[spec][4], m_Glyphs[spec][5]);
}
- CharacterDatabase.CommitTransaction();
}
void Player::_LoadTalents(QueryResult *result)