aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Garrison/Garrison.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-07-27 10:52:33 +0200
committerShauren <shauren.trinity@gmail.com>2019-07-27 10:52:33 +0200
commitf6e2b8cdc1c8a3dd291947f67566b41dac116622 (patch)
tree22a01cb91b2d47827ae73b48fcace3926587a341 /src/server/game/Garrison/Garrison.h
parente8e89f58fb800014f53341f12505f60ee2b5fb6f (diff)
Core/DBLayer: Prevent committing transactions started on a different database
Diffstat (limited to 'src/server/game/Garrison/Garrison.h')
-rw-r--r--src/server/game/Garrison/Garrison.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Garrison/Garrison.h b/src/server/game/Garrison/Garrison.h
index 279cda657ce..295d4119565 100644
--- a/src/server/game/Garrison/Garrison.h
+++ b/src/server/game/Garrison/Garrison.h
@@ -212,8 +212,8 @@ public:
bool LoadFromDB(PreparedQueryResult garrison, PreparedQueryResult blueprints, PreparedQueryResult buildings,
PreparedQueryResult followers, PreparedQueryResult abilities);
- void SaveToDB(SQLTransaction trans);
- static void DeleteFromDB(ObjectGuid::LowType ownerGuid, SQLTransaction trans);
+ void SaveToDB(CharacterDatabaseTransaction trans);
+ static void DeleteFromDB(ObjectGuid::LowType ownerGuid, CharacterDatabaseTransaction trans);
bool Create(uint32 garrSiteId);
void Delete();