Core/DBLayer: Convert DirectExecute() queries that are not runtime relevant back to regular queries

This commit is contained in:
leak committed 2012-03-19 18:09:13 +01:00
1 parent f0ac821e0b
commit 178c658363
5 files changed
+5 -15

No files matched your search

+1 -1
View File
@@ -486,5 +486,5 @@ void Master::clearOnlineAccounts()
CharacterDatabase.DirectExecute("UPDATE characters SET online = 0 WHERE online <> 0");
// Battleground instance ids reset at server restart
CharacterDatabase.DirectExecute(CharacterDatabase.GetPreparedStatement(CHAR_UPD_PLAYERS_BGDATA));
CharacterDatabase.DirectExecute("UPDATE character_battleground_data SET instanceId = 0");
}