diff options
| author | Shauren <shauren.trinity@gmail.com> | 2020-12-11 22:19:19 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2020-12-11 22:19:19 +0100 |
| commit | 5f3a2d2abf296d1eaf9788244100c91de8b7a619 (patch) | |
| tree | e92f5a88be6fafb5f8159c507085c7fd8767a95f /src/server/database/Database | |
| parent | a50f671afd0c17b768aa1dd73d3d63476ff5523c (diff) | |
Core/Quests: Fixed questgiver icons
Closes #25702
Diffstat (limited to 'src/server/database/Database')
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 5 | ||||
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 8f4930262cc..89cb1191e4c 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -1067,6 +1067,11 @@ void HotfixDatabaseConnection::DoPrepareStatements() "Difficulty7, Difficulty8, Difficulty9, Difficulty10 FROM quest_faction_reward WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); PREPARE_MAX_ID_STMT(HOTFIX_SEL_QUEST_FACTION_REWARD, "SELECT MAX(ID) + 1 FROM quest_faction_reward", CONNECTION_SYNCH); + // QuestInfo.db2 + PrepareStatement(HOTFIX_SEL_QUEST_INFO, "SELECT ID, InfoName, Type, Modifiers, Profession FROM quest_info WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); + PREPARE_MAX_ID_STMT(HOTFIX_SEL_QUEST_INFO, "SELECT MAX(ID) + 1 FROM quest_info", CONNECTION_SYNCH); + PREPARE_LOCALE_STMT(HOTFIX_SEL_QUEST_INFO, "SELECT ID, InfoName_lang FROM quest_info_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?", CONNECTION_SYNCH); + // QuestMoneyReward.db2 PrepareStatement(HOTFIX_SEL_QUEST_MONEY_REWARD, "SELECT ID, Difficulty1, Difficulty2, Difficulty3, Difficulty4, Difficulty5, Difficulty6, " "Difficulty7, Difficulty8, Difficulty9, Difficulty10 FROM quest_money_reward WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h index 37b6dc165c7..820b11720f5 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -615,6 +615,10 @@ enum HotfixDatabaseStatements : uint32 HOTFIX_SEL_QUEST_FACTION_REWARD, HOTFIX_SEL_QUEST_FACTION_REWARD_MAX_ID, + HOTFIX_SEL_QUEST_INFO, + HOTFIX_SEL_QUEST_INFO_MAX_ID, + HOTFIX_SEL_QUEST_INFO_LOCALE, + HOTFIX_SEL_QUEST_MONEY_REWARD, HOTFIX_SEL_QUEST_MONEY_REWARD_MAX_ID, |
