Hi,

Maybe this is a DBI question rather than MySQL, but here 
goes...

I have a perl script which forks in order to work around a
memory leak in XML::Parser.

The child parses the data and the parent reads the 
results back from the child to populate some temporary
tables in the database.

What seems to happen is that when the child exits, the
DBI connection to the database is lost and automatically
reconnected (how?).   Obviously this blows away my temporary
tables.

Does anyone know how to avoid this ?

I've tried "$SIG{CHLD}='IGNORE';" with no effect.

My current work around is to read all the data into the 
parent and then do the DB work, but is there a better way ?

regards,
Martin




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to