diff options
Diffstat (limited to 'src/server/database')
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 14 | ||||
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 8 | 
2 files changed, 22 insertions, 0 deletions
| diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 1eba397e46e..eae49d12b2e 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -566,6 +566,20 @@ void HotfixDatabaseConnection::DoPrepareStatements()          "Enemies4, Friend1, Friend2, Friend3, Friend4 FROM faction_template WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);      PREPARE_MAX_ID_STMT(HOTFIX_SEL_FACTION_TEMPLATE, "SELECT MAX(ID) + 1 FROM faction_template", CONNECTION_SYNCH); +    // FriendshipRepReaction.db2 +    PrepareStatement(HOTFIX_SEL_FRIENDSHIP_REP_REACTION, "SELECT ID, Reaction, FriendshipRepID, ReactionThreshold FROM friendship_rep_reaction" +        " WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); +    PREPARE_MAX_ID_STMT(HOTFIX_SEL_FRIENDSHIP_REP_REACTION, "SELECT MAX(ID) + 1 FROM friendship_rep_reaction", CONNECTION_SYNCH); +    PREPARE_LOCALE_STMT(HOTFIX_SEL_FRIENDSHIP_REP_REACTION, "SELECT ID, Reaction_lang FROM friendship_rep_reaction_locale" +        " WHERE (`VerifiedBuild` > 0) = ? AND locale = ?", CONNECTION_SYNCH); + +    // FriendshipReputation.db2 +    PrepareStatement(HOTFIX_SEL_FRIENDSHIP_REPUTATION, "SELECT Description, StandingModified, StandingChanged, ID, FactionID, TextureFileID, Flags" +        " FROM friendship_reputation WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); +    PREPARE_MAX_ID_STMT(HOTFIX_SEL_FRIENDSHIP_REPUTATION, "SELECT MAX(ID) + 1 FROM friendship_reputation", CONNECTION_SYNCH); +    PREPARE_LOCALE_STMT(HOTFIX_SEL_FRIENDSHIP_REPUTATION, "SELECT ID, Description_lang, StandingModified_lang, StandingChanged_lang" +        " FROM friendship_reputation_locale WHERE (`VerifiedBuild` > 0) = ? AND locale = ?", CONNECTION_SYNCH); +      // GameobjectDisplayInfo.db2      PrepareStatement(HOTFIX_SEL_GAMEOBJECT_DISPLAY_INFO, "SELECT ID, GeoBoxMinX, GeoBoxMinY, GeoBoxMinZ, GeoBoxMaxX, GeoBoxMaxY, GeoBoxMaxZ, "          "FileDataID, ObjectEffectPackageID, OverrideLootEffectScale, OverrideNameScale FROM gameobject_display_info WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h index 4acb89a35bf..8d88f734343 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -327,6 +327,14 @@ enum HotfixDatabaseStatements : uint32      HOTFIX_SEL_FACTION_TEMPLATE,      HOTFIX_SEL_FACTION_TEMPLATE_MAX_ID, +    HOTFIX_SEL_FRIENDSHIP_REP_REACTION, +    HOTFIX_SEL_FRIENDSHIP_REP_REACTION_MAX_ID, +    HOTFIX_SEL_FRIENDSHIP_REP_REACTION_LOCALE, + +    HOTFIX_SEL_FRIENDSHIP_REPUTATION, +    HOTFIX_SEL_FRIENDSHIP_REPUTATION_MAX_ID, +    HOTFIX_SEL_FRIENDSHIP_REPUTATION_LOCALE, +      HOTFIX_SEL_GAMEOBJECT_DISPLAY_INFO,      HOTFIX_SEL_GAMEOBJECT_DISPLAY_INFO_MAX_ID, | 
