apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject apr_dbd_init
Date Sat, 11 Feb 2006 21:21:39 GMT
Had a look at that function and as per documentation, it should be
called only once. This all works fine if one Apache module (e.g.
mod_dbd) is the only module calling this function. However, if two
modules (which don't necessarily know about each other) attempt to call
this function, the whole initialisation will be repeated, which is not
obviously not the desire effect.

Could we do:

if (drivers)
  return ret;

just before making the hash?


View raw message