Re: debugger 'R'estart and open database connections
From: Andrew Pimlott (andrew_at_pimlott.net)
Date: 07/10/04
- Previous message: Andrew Pimlott: "Re: debugger 'R'estart and open database connections"
- In reply to: Michael Peppler: "Re: debugger 'R'estart and open database connections"
- Next in thread: Tim Bunce: "Re: debugger 'R'estart and open database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 9 Jul 2004 18:34:14 -0400 To: dbi-users@perl.org
On Fri, Jul 09, 2004 at 08:08:37AM +0200, Michael Peppler wrote:
> On Thu, 2004-07-08 at 21:42, Andrew Pimlott wrote:
>
> > - Have the database drivers set the close-on-exec flag of the fd used to
> > connect to the database. This makes sense to me, because after an
> > exec, there is usually no way to recover the connection (does any
> > database library allow this?).
>
> Yes - Sybase OpenClient has always allowed the re-use of open
> connections across forks (and hence across execs).
So there is a call that takes an fd and creates a connection around it?
Cool.
Anyhow, I'm pretty convinced that closing the fds in the debugger is the
cleaner solution, so this isn't an issue.
Andrew
- Previous message: Andrew Pimlott: "Re: debugger 'R'estart and open database connections"
- In reply to: Michael Peppler: "Re: debugger 'R'estart and open database connections"
- Next in thread: Tim Bunce: "Re: debugger 'R'estart and open database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|