On 20 Nov 2017, at 3:41pm, Kniep Stefan (CM/ESN3) <stefan.kn...@de.bosch.com> 
wrote:

> P.S.: As a test, I have modified sqlite3WalClose() (and the place where it is 
> called) to delete/truncate the WAL when journal_size_limit is reached. I had 
> to change only two lines, but of course I am not sure that my change doesn't 
> break anything.

Do not delete the WAL file unless all connections to the database have been 
closed properly — without crashes, and without an error code being returned to 
SQLite.  Having an empty WAL file does not do exactly the same thing as having 
no WAL file.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to