SQLite Forum

Status of wal2 branch
Login
Thanks again. Now fixed here:

[](https://sqlite.org/src/info/4f5481bf291c39e2)

> Is there a way to let sqlite skip create journal file when I intend to use WAL ? (a flags pass to sqlite3_open_v2 to avoid call "pargama journal_mode = WAL" late)

No such flag unfortunately. 

Creating and deleting the journal file would be necessary when initializing a new wal database anyhow. Otherwise you would either create race conditions with other processes trying to open the db simultaneously, or else risk leaving a corrupt file on the disk if the application or system failed at an inopportune moment while opening the file.

Dan.