apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: apr_dbd_init
Date Mon, 27 Mar 2006 23:01:16 GMT
On Monday 27 March 2006 22:40, Bojan Smojver wrote:
> I asked a while back about having a test in this function to this effect:
>
> if (drivers)
>    return APR_SUCCESS;

>
> What's the final verdict on this?

I don't think there ever was a "final verdict".

I don't think your suggestion is quite enough, as the lifetime
of "drivers" is tied to the pool.  But if we add a pool cleanup
that resets drivers to NULL, it should be fine AFAICS.

I'll put that in if noone shouts.

-- 
Nick Kew

Mime
View raw message