On Wed, Nov 02, 2005 at 03:34:14PM -0800, David Wheeler wrote:
> On Nov 2, 2005, at 2:59 PM, Tim Bunce wrote:
> 
> >I've an assortments of changes to checkin prior to the next release,
> >but docs for Callbacks isn't part of them.  Patches most welcome.
> 
> Okay.
> 
> >I've been rather busy for a while[1] and that won't get much better
> >in the short term. Help would be appreciated.
> 
> Congratulations! What are you doing here???

Squeezing in a little catch-up.

> >>> http://www.justatheory.com/computers/databases/sqlite/ 
> >>>custom_perl_aggregates.html
> >
> >How does that relate to callbacks, exactly?
> 
> Because the aggregates don't persist, I need to create them for every  
> database handle. Since I run persistent apps (with mod_perl), it's  
> best for me to do it the first time I connect to the database. Since  
> I use connect_cached(), It's hard to know when it actually connects  
> and when it reuses an existing handle.

Ah. You could use a subclass and override the connected() method.

Tim.

Reply via email to