On Oct 14, 2009, at 2:59 PM, McClellen, Chris wrote:

> I think the issue is :
>
> Thread 1 does exitprocess/terminateprocess  (or process.kill, or
> anything like that)
> Thread 2 does write() -- the write I believe can be interrupted when
> partially complete in these cases  (only part of the blocks have been
> written to disk, the others are not even scheduled).  When a database
> has overflow chains (and a chain is being modified), this is
> particularly disastrous.


We assume that partial writes can occur on an unclean shutdown.  In  
fact, we run thousands and thousands of test cases to verify that  
partial writes do not corrupt the database file.

D. Richard Hipp
d...@hwaci.com



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

Reply via email to