From: Michael Vogt Date: Tue, 24 Mar 2009 13:38:07 +0000 (+0100) Subject: ftparchive/cachedb.cc: compact() the database after c_del() X-Git-Tag: 0.7.22~6^2~16 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/e2074725f98134e0ae7cc28928aea0dca8dca1b5?hp=75eb9d3b51f2d6742b0f71fc2bf90a59c6bc0356 ftparchive/cachedb.cc: compact() the database after c_del() --- 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; }