On 7 Mar 2012, at 9:00am, Mikołaj Radwan <mikolaj.rad...@coretechnology.pl> 
wrote:

> After a couple iterations both processes start getting the "database
> locked" error and never work again unless one of them is killed.

My guess is that one or other processes are not closing the connection properly 
on the run previous to the one which is locked.  Are you inspecting and dealing 
with the result returned by every call (including the _close() ones) ?  If any 
of them are anything except NOERROR then make your program report them.

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

Reply via email to