소스 검색

* ftparchive/cachedb.cc:
- when apt-ftparchive clean is used, compact the database
at the end (thanks to cprov)

Michael Vogt 17 년 전
부모
커밋
1e2acb1a23
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      debian/changelog
  2. 1 0
      ftparchive/cachedb.cc

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+apt (0.7.20.2ubuntu4) jaunty; urgency=low
+
+  * ftparchive/cachedb.cc:
+    - when apt-ftparchive clean is used, compact the database
+      at the end (thanks to cprov)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 26 Mar 2009 13:43:59 +0100
+
 apt (0.7.20.2ubuntu3) jaunty; urgency=low
 apt (0.7.20.2ubuntu3) jaunty; urgency=low
 
 
   * methods/mirror.cc:
   * methods/mirror.cc:

+ 1 - 0
ftparchive/cachedb.cc

@@ -463,6 +463,7 @@ bool CacheDB::Clean()
       
       
       Cursor->c_del(Cursor,0);
       Cursor->c_del(Cursor,0);
    }
    }
+   Dbp->compact(Dbp, NULL, NULL, NULL, NULL, DB_FREE_SPACE, NULL);
 
 
    return true;
    return true;
 }
 }