Description[sql] Recover Favicons v5 databases, with more recovery automation.
An entirely automated recovery system runs afoul of questions about
whether the corrupt database's schema can be trusted.
sql::Recovery::AutoRecoverTable() uses a schema created by the caller
to construct the recovery virtual table and then copies the data over.
sql::Recovery::SetupMeta() and GetMetaVersionNumber() simplify
accessing meta-table info in the corrupt database.
sql::test::IntegrityCheck() and CorruptSizeInHeader() helpers to
simplify common testing operations.
Rewrite ThumbnailDatabase v6 and v7 recovery code and tests using
these changes, and add a v5 recovery path. Additionally handle
deprecated versions.
BUG=240396, 109482
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235492
Patch Set 1 #Patch Set 2 : rebase and cleanup #
Total comments: 7
Patch Set 3 : Address nits. #Patch Set 4 : Rebase, merge rows-recovered support. #
Messages
Total messages: 19 (0 generated)
|