Mozart's_Ghost
Mozart's_Ghost
DTDrizzle Team
Created by christrading on 6/11/2024 in #help
LibsqlError: SQLITE_BUSY: database is locked
https://www.sqlite.org/lang_transaction.html#deferred_immediate_and_exclusive_transactions "If the first statement after BEGIN DEFERRED is a SELECT, then a read transaction is started. Subsequent write statements will upgrade the transaction to a write transaction if possible, or return SQLITE_BUSY"
5 replies
DTDrizzle Team
Created by camiaei on 6/18/2024 in #help
SQLITE_BUSY: database is locked
It will probably help a lot if you read that whole page
3 replies
DTDrizzle Team
Created by camiaei on 6/18/2024 in #help
SQLITE_BUSY: database is locked
I ran into this a while back. Nearly pulled my hair out. It happened to me when I had a READ as the first action in the body of the transaction call back. It is an sqlite thing. Here is the documentation that was relevant to my issue "If the first statement after BEGIN DEFERRED is a SELECT, then a read transaction is started. Subsequent write statements will upgrade the transaction to a write transaction if possible, or return SQLITE_BUSY" https://www.sqlite.org/lang_transaction.html#deferred_immediate_and_exclusive_transactions
3 replies
TTCTheo's Typesafe Cult
Created by antoine on 8/8/2023 in #questions
extending trpc middleware
Did you ever figure this out?
4 replies
TTCTheo's Typesafe Cult
Created by Mugetsu on 1/9/2024 in #questions
Logging trpc errors in production
bump
4 replies