Skip to content

Fix xUnlock() call without prior call to xLock() #245

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

Merged
merged 2 commits into from
Jan 28, 2025
Merged

Conversation

rhashimoto
Copy link
Owner

SQLite will sometimes call xUnlock() without previously calling xLock() - this can happen when the first query does not actually access the database file. This surprised WebLocksMixIn.jUnlock(), which was expecting state to already exist.

@rhashimoto rhashimoto merged commit 32d9fc0 into master Jan 28, 2025
1 check passed
@rhashimoto rhashimoto deleted the fix-jUnlock branch January 28, 2025 01:22
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.

2 participants