Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: DBI InactiveDestroy problem

by lbjay (Novice)
on Dec 11, 2006 at 21:19 UTC ( #589155=note: print w/ replies, xml ) Need Help??


in reply to DBI InactiveDestroy problem

The DBI perldoc states "Note that some databases, including Oracle, donít support passing a database connection across a fork." Could that be the problem?


Comment on Re: DBI InactiveDestroy problem
Re^2: DBI InactiveDestroy problem
by mifflin (Curate) on Dec 14, 2006 at 01:59 UTC
    I'm not trying to use the parent's $dbh in the child process. My child process will (in the final program) connect to the database itself, if need be. What I don't want to happen is have the parent's $dbh connection be closed when the child process finishes. The InactiveDestroy attribute is supposed to help here but it does not seem to.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-12-29 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls