]> git.saurik.com Git - apt.git/commitdiff
Bump the cache major version for non-backportable changes
authorJulian Andres Klode <jak@debian.org>
Tue, 27 Sep 2016 16:36:10 +0000 (18:36 +0200)
committerJulian Andres Klode <jak@debian.org>
Tue, 22 Nov 2016 21:58:18 +0000 (22:58 +0100)
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.

apt-pkg/pkgcache.cc

index b4c232f8c15dc218120aed0aff44401bcf844156..e7e417a5a818268ad75b051d0197e62e6ce7171a 100644 (file)
@@ -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));