summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-03-24 14:38:07 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-03-24 14:38:07 +0100
commite2074725f98134e0ae7cc28928aea0dca8dca1b5 (patch)
treec215382de7bea7e0fa6fa4612c6df90e0bb7a931 /ftparchive
parent75eb9d3b51f2d6742b0f71fc2bf90a59c6bc0356 (diff)
ftparchive/cachedb.cc: compact() the database after c_del()
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/cachedb.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftparchive/cachedb.cc b/ftparchive/cachedb.cc
index 8de3a0b9e..ff9a92d32 100644
--- a/ftparchive/cachedb.cc
+++ b/ftparchive/cachedb.cc
@@ -463,6 +463,7 @@ bool CacheDB::Clean()
Cursor->c_del(Cursor,0);
}
+ Dbp->compact(Dbp, NULL, NULL, NULL, NULL, DB_FREE_SPACE, NULL);
return true;
}