aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-22 19:42:43 +0200
committerMachiavelli <none@none>2009-08-22 19:42:43 +0200
commit2c57e5026ae4ae909618b5b8eb3fbc28d1d17240 (patch)
tree816320b14ae63c2e6c69c896237d6e8588dc9cc8 /src
parent45a9529a66ac8d529167311b6993be2e597a7ea6 (diff)
* revert 5293
--HG-- branch : trunk
Diffstat (limited to 'src')
-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)