Ara.T.Howard wrote:
On Sat, 18 Sep 2004, Ara.T.Howard wrote:


say you have the following logic:


begin transaction in parent

 if pid = fork

   ....

   commit transaction

   close database

 else

   close database

   ...

 end



I do not know what will happen if you fork while holding an open
database connection.  Whatever does happen, I suppose it will not
be pretty.  SQLite is not designed to survive a fork.  Perhaps it
can be changed to work across a fork, but it will take some work.

--
D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565



Reply via email to