SQLite Forum

Reload WAL when modified by outside process
Login
Hello everyone,

I tried to search the forum for this topic but couldn't quite find what I'm looking for. Is it possible to reload the WAL/SHM for an SQLite connection without reconnecting?

I have a `db` file and I want to copy the `db-wal` file next to it and have it be visible to already connected SQLite connections. The existing connections are not performing writes. I tried starting & rolling back a write transaction and using `PRAGMA wal_checkpoint` but no luck.

Is this possible?

Thank you.


Ben Johnson