On Mon, 7 Jan 2013 12:27:54 +0000 Simon Slavin <slav...@bigfraud.org> wrote:
> > On 7 Jan 2013, at 8:22am, Eduardo Morras <emorr...@yahoo.es> wrote: > > > The app works but, is anyone working with sqlite this way? Any advice to > > avoid db corrupts, deadlocks, whatever? > > Read this page: > > <http://www.sqlite.org/threadsafe.html> > > and the parts of this page which mention threads: > > <http://www.sqlite.org/howtocorrupt.html> > > Apart from that you should be okay. I read the advice on FAQ Rogers sent, it seems to work using serialized mode, but in future when i don't remember about it or i don't work/maintain the code it may work as it shouldn't and corrupt the db. I prefer to open the db connection after the fork. > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users --- --- Eduardo Morras <emorr...@yahoo.es> _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users