I am pretty sure I know whats going on now. I am using POE (Perl Object
environment, I highly recommend it poe.perl.org) and what is happening
is my program is basically trying to do inserts into the database at the
same time, which I think is creating a deadlock. It can handle doing one
insert at one time, but when I fire a lot of events at it that are kind
of happening asynchronously on the server, it fails. It would be nice if
the debugging and logging output made some sort of damn sense or would
tell you these things.. I think I have had my head up my ass all day cuz
of this. I am going to try do some stuff in my program that will "pause"
all the other helper "threads" when I'm doing a sql insert.

-----Original Message-----
From: Darren Duncan [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 08, 2004 3:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [sqlite] still having problems with DBD::SQLite2

At 3:45 PM -0500 10/8/04, Freeman, Michael wrote:
>The script and the database live and are called from in the same
>directory.

As an experiment, try putting the code from your two scripts into the 
same script.

The combined script would first run the code for creating the 
database, then run the code for updating it.  Both parts do an open() 
and a close(), and both use the unqalified file name.

-- Darren Duncan

Reply via email to