diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-06-06 20:57:09 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-06-06 20:57:09 +0200 |
commit | 5134622a75bdc8ffafb0d86e0c0275d731385d0c (patch) | |
tree | 6af6da0f37e6f11177eade7074d8ce2d57549d15 /src/server/database | |
parent | 2f8e411ac7d357fdd861da2f3cfc9cc2542c2a40 (diff) |
Core/DataStores: Load QuestLineXQuest.db2
Diffstat (limited to 'src/server/database')
-rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 5 | ||||
-rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 507f4f2f9d4..f105fc60df6 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -1150,6 +1150,11 @@ void HotfixDatabaseConnection::DoPrepareStatements() 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); + // QuestLineXQuest.db2 + PrepareStatement(HOTFIX_SEL_QUEST_LINE_X_QUEST, "SELECT ID, QuestLineID, QuestID, OrderIndex FROM quest_line_x_quest" + " WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); + PREPARE_MAX_ID_STMT(HOTFIX_SEL_QUEST_LINE_X_QUEST, "SELECT MAX(ID) + 1 FROM quest_line_x_quest", 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 2535e79cef6..7daab31d346 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -666,6 +666,9 @@ enum HotfixDatabaseStatements : uint32 HOTFIX_SEL_QUEST_INFO_MAX_ID, HOTFIX_SEL_QUEST_INFO_LOCALE, + HOTFIX_SEL_QUEST_LINE_X_QUEST, + HOTFIX_SEL_QUEST_LINE_X_QUEST_MAX_ID, + HOTFIX_SEL_QUEST_MONEY_REWARD, HOTFIX_SEL_QUEST_MONEY_REWARD_MAX_ID, |