Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker
authorBjarne Herland <bjarne@runitsoft.com>
Tue, 26 Oct 2010 17:34:58 -0700
changeset 56531 f91e0db149dda8e44bc6e15cc912a281984556c5
parent 56530 cfc1a18e48fc514d7c5f37b1f65226498b476efc
child 56532 6b23d13ab112cf8840767c58502550d2f0c1d591
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjst, blocker
bugs588804
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker
netwerk/cache/nsDiskCache.h
--- a/netwerk/cache/nsDiskCache.h
+++ b/netwerk/cache/nsDiskCache.h
@@ -48,17 +48,17 @@
 #ifdef XP_WIN
 #include <winsock.h>  // for htonl/ntohl
 #endif
 
 
 class nsDiskCache {
 public:
     enum {
-            kCurrentVersion = 0x0001000F      // format = 16 bits major version/16 bits minor version
+            kCurrentVersion = 0x00010010      // format = 16 bits major version/16 bits minor version
     };
 
     enum { kData, kMetaData };
 
     // Parameter initval initializes internal state of hash function. Hash values are different
     // for the same text when different initval is used. It can be any random number.
     // 
     // It can be used for generating 64-bit hash value: