Fix SQLitePersistentReportingAndNelStore metadata table recovery logic
The SQLitePersistentReportingAndNelStore recovery logic for DoMigrateDatabaseSchema() won't recover the db if there's corruption in the metadata table. The base::nullopt return value prevents the db recovery. Remove that check and add a test for it. Bug: 1093598 Change-Id: I1030acc1978e6e6a75e3673c870e4268a8627da9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2242167 Commit-Queue: Callum May <camay@microsoft.com> Reviewed-by:Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#778921}
Showing
Please register or sign in to comment