[11716] Always use _unsigned_ BIGINT fields in DB for time store

Also some other BIGINT fields fixed.
This commit is contained in:
VladimirMangos 2011-07-07 04:20:34 +04:00
parent f4be64ff48
commit b5e136c289
15 changed files with 75 additions and 25 deletions

View file

@ -277,7 +277,7 @@ bool Guild::LoadGuildFromDB(QueryResult *guildDataResult)
m_BackgroundColor = fields[7].GetUInt32();
GINFO = fields[8].GetCppString();
MOTD = fields[9].GetCppString();
m_CreatedDate = fields[10].GetUInt64();
m_CreatedDate = time_t(fields[10].GetUInt64());
m_GuildBankMoney = fields[11].GetUInt64();
uint32 purchasedTabs = fields[12].GetUInt32();