]> git.saurik.com Git - apt.git/commitdiff
ftparchive/cachedb.cc: compact() the database after c_del()
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 24 Mar 2009 13:38:07 +0000 (14:38 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 24 Mar 2009 13:38:07 +0000 (14:38 +0100)
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;
 }