Re: mod_perl and global %Live_Objects not being initialized

[prev] [thread] [next] [Date index for 2004/11/16]

From: Tim Bunce
Subject: Re: mod_perl and global %Live_Objects not being initialized
Date: 21:40 on 16 Nov 2004
On Tue, Nov 16, 2004 at 01:13:37PM -0500, Andy Grundman wrote:
> Tim Bunce wrote:
> >
> >
> >This sounds like a problem that I fixed in a patch I posted around June 24.
> >The relevant parts for you may be:
> >
> >+++ Class-DBI-0.96/lib/Class/DBI/Relationship.pm        Thu Jun 24 
> >+       $class->clear_object_index;
> >
> >+++ Class-DBI-0.96/lib/Class/DBI.pm     Thu Jun 24 11:57:21 2004
> > sub delete {
> >+       $self->remove_from_object_index;
> 
> Thanks Tim.  What prompted the patch?  Were you seeing some bad data 
> related to the index too?

As I recall there was a message on the list around the time I was
looking at the code that made me realise it was important to clear
the index when relationships were setup.

Tim.

p.s. I do suspect there's a bug in the perl internals related to
weak references to objects using overloading, but I've not had time
to come up with a test case. See my earlier messages.

(message missing)

Re: mod_perl and global %Live_Objects not being initialized
Tim Bunce 21:40 on 16 Nov 2004

Re: mod_perl and global %Live_Objects not being initialized
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 03:02 on 19 Nov 2004

Generated at 17:31 on 15 Feb 2005 by mariachi v0.52