Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to support custom database corruption error handler #192

Merged

Conversation

brodybits
Copy link
Contributor

I am also pushing the new tests of this feature. Please let me know if you have any questions. Ref: #169

Chris Brody added 4 commits August 28, 2015 11:54
Add additional safeguards to public SQLiteDatabase.markTableSyncable() functions in case the database is not opened.

NOTE: The DefaultDatabaseErrorHandler follows the existing implementation from SQLiteDatabase.onCorruption()
which is to close the database object and then delete it. This is different from the AOSP version
of DefaultDatabaseErrorHandler.java which also attempts to delete all attached database files.
FUTURE/TBD I am not sure if we want to do this or not.
developernotes added a commit that referenced this pull request Aug 28, 2015
Changes to support custom database corruption error handler
@developernotes developernotes merged commit dc376f5 into sqlcipher:master Aug 28, 2015
@brodybits
Copy link
Contributor Author

Thanks! Did you get the test changes in sqlcipher/sqlcipher-android-tests#9?

@developernotes
Copy link
Member

Yes I just merged in the tests as well - thanks @brodybits!

@brodybits
Copy link
Contributor Author

👍

@brodybits brodybits deleted the cb-custom-corruption-handler branch January 12, 2021 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants