Re: TEMP columns not populated by sth_to_objects in 0.96

[prev] [thread] [next] [Date index for 2004/06/09]

From: David Jack Olrik
Subject: Re: TEMP columns not populated by sth_to_objects in 0.96
Date: 10:22 on 09 Jun 2004
On Jun 8, 2004, at 17:49, Perrin Harkins wrote:
> I posted a patch on the list a couple of weeks ago that fixes this
> problem by always adding any newly fetched data to the cached objects.
> There was some concern about whether or not it was the right thing to 
> do
> though.

I would think that it would be the right thing to do, why else fetch 
the data again?
Maybe some sort of 'allow reload flag' could be added, so that data 
only is reloaded when you really mean it.

> There is a larger issue in my mind about whether or not TEMP columns
> that can't be populated by a class' normal constructor are a good idea.
> Maybe there is a cleaner approach to this kind of extra data gathering.

True, I am creating a seperate tree object with handles pointing to the 
real cdbi objects, instead of storing it in TEMP columns.

        -- 
        Best regards,
David Jack Olrik <david@xxxxx.xx>             http://david.olrik.dk
GnuPG fingerprint C290 0A4A 0CCC CBA8 2B37 E18D 01D2 F6EF 2E61 9894
["The first rule of Perl club is  You do not talk about Perl club"]

(message missing)

TEMP columns not populated by sth_to_objects in 0.96
David Jack Olrik 08:54 on 08 Jun 2004

object caching and mod_perl
jason scott gessner 13:28 on 08 Jun 2004

Re: object caching and mod_perl
Tony Bowden 13:46 on 08 Jun 2004

Re: object caching and mod_perl
Perrin Harkins 14:02 on 08 Jun 2004

Re: object caching and mod_perl
jason scott gessner 14:11 on 08 Jun 2004

Re: TEMP columns not populated by sth_to_objects in 0.96
David Jack Olrik 10:22 on 09 Jun 2004

Re: object caching and mod_perl
Edward J. Sabol 14:52 on 08 Jun 2004

Re: object caching and mod_perl
jason scott gessner 16:31 on 11 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52