mirror of https://github.com/usememos/memos
fix: database is locked (#1992)
* fix: database is locked The option "_journal_mode=WAL" is currently *not* being applied when provided in the DSN. This issue affects only new memos installations, not older ones where the database journal was properly set to WAL mode by the previous sqlite library go-sqlite3. modernc.org/sqlite DSN parsing is different from go-sqlite3. It requires the `_pragma=` prefix and even some options order matter. https://gitlab.com/cznic/sqlite/-/issues/115 Closes #1985 * chore: upgraded notes on sqlite DSNpull/1995/head
parent
f91f09adea
commit
c8961ad489
Loading…
Reference in New Issue