We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.31+e448c4cc3
Linux 6.11.1-arch1-1 x86_64 unknown
import { Database } from "bun:sqlite"; const db = new Database(":memory:"); db.transaction(() => {})(); db.close(true);
The database connection is closed successfully.
Exception: database is locked
database is locked
I believe this is because the prepared statements used in the transaction controller are never finalized. Perhaps these db.prepare calls can simply be switched to db.query calls?
db.prepare
db.query
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.31+e448c4cc3
What platform is your computer?
Linux 6.11.1-arch1-1 x86_64 unknown
What steps can reproduce the bug?
What is the expected behavior?
The database connection is closed successfully.
What do you see instead?
Exception:
database is locked
Additional information
I believe this is because the prepared statements used in the transaction controller are never finalized. Perhaps these
db.prepare
calls can simply be switched todb.query
calls?The text was updated successfully, but these errors were encountered: