]> git.saurik.com Git - apt.git/blobdiff - ftparchive/cachedb.cc
ftparchive/cachedb.cc: compact() the database after c_del()
[apt.git] / ftparchive / cachedb.cc
index 8de3a0b9ef14eecacdbe54ff60515e36b987143d..ff9a92d3264f2f78013893949e9ce944e1c07945 100644 (file)
@@ -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;
 }