forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sync] Fix sync directory initialization to better handle errors
The following changes are made: - Handle failure to change the page size by failing early - Do not attempt to silently recreate the database on error loading. - Fix testing to verify that the page size is updated properly on update. - Add test for case where the database doesn't load properly on upgrade. BUG=583795 Review URL: https://codereview.chromium.org/1661063004 Cr-Commit-Position: refs/heads/master@{#373433}
- Loading branch information
zea
authored and
Commit bot
committed
Feb 4, 2016
1 parent
4b6f030
commit 09952e8
Showing
3 changed files
with
87 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters