Simple enough to test... just open two sqlite sessions and try it...

Process B will recover the database when the transaction begins. 

Are you having an issue with sqlite doing something different?

HTH

Robert Lehr <[EMAIL PROTECTED]> wrote: I have a question about recovering from 
a transaction that was not
completed by a process b/c it terminated abnormally, e.g., careless
SIGKILL or segfault.  The scenario involves multiple processes having
the database open.

 * process A opens the database
 * process B opens the database
 * process A starts a transaction
 * process A terminates abnormally BEFORE completing the
transaction
 * process B starts a transaction

the database is now in an indeterminate state.  what happens in process
B?
 
-rlehr

Robert Lehr
Cadence Design Systems, Inc
 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

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

Reply via email to