Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 surveying the Monastery: (17)
As of 2014-09-23 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (234 votes), past polls