Mike, I've experienced some sporadic problems with database corruptions, which I believe has to do with two or more threads sharing the same database connection. The PRAGMA compile_options; command shows THREADSAFE=1. AFAIK this can mean one of two things: MULTITHREAD or SERIALIZED. If no compile option is specified, SERIALIZED should be the default. As I have no compile option specified when I compile ooSQLite, I guess it runs in serialized mode. But this can be changed using the sqlite_config function. So my question is if this is used in ooSQLite somewhere to set a different threading mode than serialized? My thinking is that if serialized is in effect then I should not be able to get the problem that I'm facing and I need to look for another explanation.

Staffan