summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-3/malindou.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt
index 6d0736a19..ba7673723 100644
--- a/npc/003-3/malindou.txt
+++ b/npc/003-3/malindou.txt
@@ -713,6 +713,9 @@ OnClock0500:
if (gettime(GETTIME_DAYOFMONTH) >= 7)
query_sql("DELETE FROM `chatlog` WHERE `time` < '"+sqldate(-7)+"'");
query_sql("DELETE FROM `picklog` WHERE `time` < '"+sqldate(0, -3)+"'");
+ // Remove overhead from picklog
+ if (gettime(GETTIME_DAYOFMONTH) == 14)
+ query_sql("OPTIMIZE TABLE `picklog`");
end;
// This is for HUB