From 1e2acb1a23c8f3c3a78e36462bc469e6d9a039a7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 26 Mar 2009 13:44:09 +0100 Subject: * ftparchive/cachedb.cc: - when apt-ftparchive clean is used, compact the database at the end (thanks to cprov) --- ftparchive/cachedb.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'ftparchive') 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; } -- cgit v1.2.3