-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 unlock notify is not handled for BEGIN statements #2021
Comments
Please do! |
madadam
added a commit
to madadam/sqlx
that referenced
this issue
Aug 15, 2022
madadam
added a commit
to madadam/sqlx
that referenced
this issue
Aug 16, 2022
madadam
added a commit
to madadam/sqlx
that referenced
this issue
Aug 16, 2022
abonander
pushed a commit
that referenced
this issue
Aug 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unlock notification was implemented in #1658 but only when calling
sqlite3_step
. TheBEGIN
statement is executed usingsqlite3_exec
and the unlock notification is not handle there. This means that one can still getSQLITE_LOCKED_SHAREDCACHE
errors when running multiple transactions concurrently.The fix I think is to do something like this also here.
I'm happy to contribute a PR to fix this.
The text was updated successfully, but these errors were encountered: