Re: destruction ordering in DBI

[email protected] (Tim Bunce) Thu, 4 Nov 2004 13:54:42 +0000
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
On Wed, Nov 03, 2004 at 06:34:39PM +0000, Nicholas Clark wrote:
> Whilst this might seem an inappropriate place to mail this, I believe that
> Tim Bunce is subscribed, so I'm going to fire away.

Yeap. Fixed in DBI 1.44. DBI 1.45 is the latest on CPAN.

> The problem is that parent_imp has already been free()d, and it seems that
> the child has no way of knowing this.

Yeap. But that's a generic problem with global destruction.

DBI 1.44 just skips that block if dirty is true.

Tim.