-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
ManageConnection.has_broken implementation #14
Comments
If I'm not sure if there's an equivalent state in SQLite since it's talking directly to the filesystem. It may just make sense for your implementation to return |
Ok, BEGIN;
INSERT INTO foo (bar) VALUES (1);
-- connection released Thanks. |
It will continue to be in a transaction. Transactions are managed through an RAII based API that will statically prevent an active transaction if that API is used. If someone manually executes a |
Hello,
What is the expected behaviour for an
has_broken
implementation ?Should the connection be dropped explicitly when broken ?
Should the connection be considered broken when:
?
I am trying to create an adaptor for SQLite:
https://github.com/gwenn/r2d2-sqlite.
Regards
The text was updated successfully, but these errors were encountered: