Core/DBLayer: Escape more keywords
This commit is contained in:
1 parent
001837092d
commit
f8ac80d4b6
5 files changed
+9
-9
No files matched your search
@@ -431,8 +431,8 @@ void ObjectMgr::LoadCreatureTemplates()
|
||||
QueryResult result = WorldDatabase.Query("SELECT entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, "
|
||||
// 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
||||
"modelid4, name, femaleName, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, exp_unk, faction, npcflag, speed_walk, speed_run, "
|
||||
// 23 24 25 26 27 28 29 30 31 32
|
||||
"scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, "
|
||||
// 23 24 25 26 27 28 29 30 31 32
|
||||
"scale, `rank`, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, "
|
||||
// 33 34 35 36 37 38
|
||||
"dynamicflags, family, trainer_type, trainer_class, trainer_race, type, "
|
||||
// 39 40 41 42 43 44 45 46 47 48 49
|
||||
@@ -3450,7 +3450,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT raceMask, classMask, skill, rank FROM playercreateinfo_skills");
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT raceMask, classMask, skill, `rank` FROM playercreateinfo_skills");
|
||||
|
||||
if (!result)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user