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

Fix #194 #196

Merged
merged 1 commit into from
Mar 29, 2017
Merged

Fix #194 #196

merged 1 commit into from
Mar 29, 2017

Conversation

baumatron
Copy link
Contributor

@baumatron baumatron commented Mar 28, 2017

Don't treat SQLITE_DONE as a failure when it is expected under normal conditions. Fixes #194.

This change could reduce occurrences of #183 since it'll get rid of a case where we're handling an "error" and closing the db, which would cause a call to deleteEvents: that has already passed checkOpenDB to crash when executing its block in the queue.

Copy link
Collaborator

@masojus masojus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Thanks!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 64.1% when pulling b47d7c2 on fix_194 into 826714a on master.

@baumatron baumatron merged commit a4786c3 into master Mar 29, 2017
@baumatron baumatron deleted the fix_194 branch March 29, 2017 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants