Commit Graph
2 Commits
Author SHA1 Message Date
zhangwenjian 8a1218c404 fix🐛: only treat exact in-memory forms as in-memory sqlite sources
A file whose name merely contained :memory: or mode=memory was classified as an
in-memory database and skipped the locking defaults. Parse the query and match
the exact filename forms or a mode=memory parameter.
2026-10-07 17:40:49 +08:00
zhangwenjian ea679bf00b fix🐛: give sqlite connections a busy timeout, WAL and immediate transactions
A file-backed sqlite database ran in rollback-journal mode with no busy
timeout, so concurrent requests failed with "database is locked" instead of
waiting for each other. Add the defaults to the sqlite3 connection string
unless the configured source already sets them.
2026-10-07 17:32:39 +08:00