mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1341206 Relax Cache API schema version assertion since mismatches can happen in release profiles. r=asuth
This commit is contained in:
parent
79048793ad
commit
7888480cbc
4
dom/cache/DBSchema.cpp
vendored
4
dom/cache/DBSchema.cpp
vendored
@ -2564,7 +2564,9 @@ Migrate(mozIStorageConnection* aConn)
|
||||
MOZ_DIAGNOSTIC_ASSERT(currentVersion > lastVersion);
|
||||
}
|
||||
|
||||
MOZ_DIAGNOSTIC_ASSERT(currentVersion == kLatestSchemaVersion);
|
||||
// Don't release assert this since people do sometimes share profiles
|
||||
// across schema versions. Our check in Validate() will catch it.
|
||||
MOZ_ASSERT(currentVersion == kLatestSchemaVersion);
|
||||
|
||||
if (rewriteSchema) {
|
||||
// Now overwrite the master SQL for the entries table to remove the column
|
||||
|
Loading…
Reference in New Issue
Block a user