[8402] Optimalized guild_eventlog and guild_bank_eventlog loading from database.

Added config options to set count of eventlog records stored in DB.
    Attached SQL files will DROP existing and create new tables. Make sure you create backup (if you need old data).
    Renamed few variables in Guild class.
    Signed-off-by: Triply <[email protected]>

*Note: existing guild bank log will be removed.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-24 19:23:31 -05:00
parent ab8b1d8039
commit 6e8009446d
13 changed files with 458 additions and 367 deletions
+2
View File
@@ -258,6 +258,8 @@ enum WorldConfigs
CONFIG_LOGDB_CLEARINTERVAL,
CONFIG_LOGDB_CLEARTIME,
CONFIG_CLIENTCACHE_VERSION,
CONFIG_GUILD_EVENT_LOG_COUNT,
CONFIG_GUILD_BANK_EVENT_LOG_COUNT,
CONFIG_VALUE_COUNT
};