Hi Simon,

It's for logs. If it corrupts, we rename it with a suffix ".corrupt" and
write new logs into a new sqlite file. Does that affect the way I check it?

Best,
John Lin

Simon Slavin <slav...@bigfraud.org> 於 2017年11月23日 週四 上午11:04寫道:

>
>
> On 23 Nov 2017, at 3:00am, 林自均 <johnl...@gmail.com> wrote:
>
> > In other word, to check if a sqlite file is corrupted, I have to check
> the
> > stdout instead of the exit value. Am I right?
>
> Why are you checking for corrupted databases ?
> What will you do if the database is corrupt ?
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to