perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Prime <adam.pr...@utoronto.ca>
Subject Re: Apache::DBI
Date Wed, 22 Jul 2009 12:41:18 GMT
Fred Moyer wrote:
> On Tue, Jul 21, 2009 at 8:39 PM, Adam Prime<adam.prime@utoronto.ca> wrote:
>> Adam Prime wrote:
>>> What I wanted to do was fix this issue:
>>>
>>> http://rt.cpan.org/Public/Bug/Display.html?id=36346
> 
> I was just looking over your original code where you connect() in
> startup.pl.  Won't that cause issues since the database handle will be
> forked also?  Here's what I have in my startup.pl:

The code in the ticket was just to illustrate the failure.  I ran into
this problem because I wanted to preload a large read-only datastructure
out of the database prior to the fork to get it completely shared
between all the children.  The handle itself is then disconnected and
discarded.

Adam



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message