Hi All We have a process with a single sqlite db and a single connection to the database from a thread. From time to time our processs restarts and reopens the database or tries to create the database if it doesn't exists. Sometimes when the process restarts, we get the error "database is locked" although the way the process is restarted is the following:-
-we always starts the process as a child by doing a vfork and exec -if we receive a sigchld, we waitpid and finally restarts the process in same way Could this scenario ever lead to database locked scenario, should we build a retry mechanism when we get this error or this shouldn't occur if we know the older process has died. Any suggestions? -Mayank _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

