summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-09-27 18:36:10 +0200
committerJulian Andres Klode <jak@debian.org>2016-11-22 22:58:18 +0100
commit1236419d67e119acc7c0df48f8b14a277e0b5683 (patch)
treef6d2856a960f765b8b898b79f893567894cb1859 /apt-pkg/pkgcache.cc
parent5664bb2020530c0a8bbd0dc4c889743921b42429 (diff)
Bump the cache major version for non-backportable changes
We already have two stable series with major version 10, and the next commits will introduce non-backportable performance changes that affect the cache algorithms, so we need to bump the major version now to prevent future problems.
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index b4c232f8c..e7e417a5a 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -58,8 +58,8 @@ pkgCache::Header::Header()
/* Whenever the structures change the major version should be bumped,
whenever the generator changes the minor version should be bumped. */
- APT_HEADER_SET(MajorVersion, 10);
- APT_HEADER_SET(MinorVersion, 7);
+ APT_HEADER_SET(MajorVersion, 11);
+ APT_HEADER_SET(MinorVersion, 0);
APT_HEADER_SET(Dirty, false);
APT_HEADER_SET(HeaderSz, sizeof(pkgCache::Header));