Quantcast
Viewing all articles
Browse latest Browse all 15038

VS 2019 Pragma wal/wal2

I'm using VS 2019 16.9.4 and I'm writing a database program using SQLite. I'm not sure how concurrent writing and reading to and from database is handled by default. I have read the SQLite WAL modes notes, but I still don't quite understand.

By default is journaling enabled?

Is this how you enable WAL2?

Public connectionString As String = String.Format("Data Source = {0}; PRAGMA journal_mode=WAL2", dtBasePath)

Thanks for the help.

Viewing all articles
Browse latest Browse all 15038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>