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

Sqlite: statement aborts at - [ROLLBACK] - cannot rollback - no transaction is active #2

Open
ChaseFlorell opened this issue Apr 16, 2014 · 1 comment
Assignees
Labels

Comments

@ChaseFlorell
Copy link
Member

Lot's of these are showing up in the Android logs.

Here's a possible fix:
https://forums.xamarin.com/discussion/1047/consistent-logged-error-from-sqlite-but-all-seems-ok-rollback-cannot-rollback

@ChaseFlorell ChaseFlorell changed the title Sqlite: statement aborts ad - cannot rollback - no transaction is active Sqlite: statement aborts at - [ROLLBACK] - cannot rollback - no transaction is active Apr 16, 2014
@keithnlarsen
Copy link
Contributor

I think we need to close the reader and the connection it looks like. This is NOT best practice for SQLServer, so we should only implement that in the SQLLite provider.

The .NET SqlConnectionProvider does its own internal connection pooling / optimization that is why you shouldn't close it yourself, but rather use Using{ } statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants