> On Apr 14, 2017, at 2:53 PM, Paul Egli <e...@sourcegear.com> wrote:
> 
> On the "how to corrupt" page ( http://sqlite.org/howtocorrupt.html 
> <http://sqlite.org/howtocorrupt.html> ) i
> do not see any mention of using SQLite in an incorrect way with
> respect to thread safety.

Huh, you’re right. That seems like an omission. This is covered elsewhere in 
the docs, but it should be on that page too.

> Is there really no way that, for example,
> using the same connection on multiple threads at the same time could
> either (a) corrupt the database, or (b) lead to a false reports of
> corruption?

Oh, it’s totally possible, if the connection doesn’t use the Serialized 
threading mode. (In fact it’s the most common cause of corruption that I’ve 
seen.)

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

Reply via email to