summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-29 10:29:21 +0200
committerMichael Vogt <mvo@debian.org>2014-05-29 10:29:21 +0200
commit43f8819b7fbfd24c5013bbe3183cd85e10e77af3 (patch)
tree86df0bfc0cebfc6d777828b2c80aeac36e128828 /apt-pkg/pkgcache.cc
parenta93a32b5cda4f2a0572365a8b919329ea6af2c66 (diff)
increase Pkg/Grp hash table size from 2k to 64k
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 91b75f52e..93463bcef 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -54,12 +54,8 @@ pkgCache::Header::Header()
/* Whenever the structures change the major version should be bumped,
whenever the generator changes the minor version should be bumped. */
- MajorVersion = 8;
-#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR >= 13)
- MinorVersion = 2;
-#else
+ MajorVersion = 9;
MinorVersion = 1;
-#endif
Dirty = false;
HeaderSz = sizeof(pkgCache::Header);