refactor(Core/Query): escape some MySQL 8.0 keywords (#3027)

This commit is contained in:
Kitzunu
2020-05-17 07:33:47 +02:00
committed by GitHub
parent dca02598ba
commit fecba9f287
8 changed files with 30 additions and 28 deletions

View File

@@ -94,8 +94,8 @@ void ArenaTeamMgr::LoadArenaTeams()
// 0 1 2 3 4 5 6 7 8
QueryResult result = CharacterDatabase.Query("SELECT arenaTeamId, name, captainGuid, type, backgroundColor, emblemStyle, emblemColor, borderStyle, borderColor, "
// 9 10 11 12 13 14
"rating, weekGames, weekWins, seasonGames, seasonWins, rank FROM arena_team ORDER BY arenaTeamId ASC");
// 9 10 11 12 13 14
"rating, weekGames, weekWins, seasonGames, seasonWins, `rank` FROM arena_team ORDER BY arenaTeamId ASC");
if (!result)
{