mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
* Implemented DB cleaning on startup
* Must be enabled in conf AND set in worldstates for what you want to clean * CLEANING_FLAG_ACHIEVEMENT_PROGRESS = 0x1, * CLEANING_FLAG_SKILLS = 0x2, * CLEANING_FLAG_SPELLS = 0x4, * CLEANING_FLAG_TALENTS = 0x8 * Set to 0xF to clean all 4 * Patch by hunuza --HG-- branch : trunk
This commit is contained in:
@@ -1976,7 +1976,8 @@ LOCK TABLES `worldstates` WRITE;
|
||||
INSERT INTO `worldstates` (`entry`,`value`, `comment`) VALUES
|
||||
(20001, 0, 'NextArenaPointDistributionTime'),
|
||||
(20002, 0, 'NextWeeklyQuestResetTime'),
|
||||
(20003, 0, 'NextBGRandomDailyResetTime');
|
||||
(20003, 0, 'NextBGRandomDailyResetTime'),
|
||||
(20004, 0, 'cleaning_flags');
|
||||
/*!40000 ALTER TABLE `worldstates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
Reference in New Issue
Block a user