William A. Rowe, Jr.
Mon, 19 May 2008 15:38:30 -0700
Tom Donovan wrote:
I don't quite follow you here. Are you referring to the Oracle dbd driver prepared-statement cache?
yes; my question is, even if we do construct a cache, is module lifetime appropriate? When accessed by several different consumers at once? (e.g. two libraries that rely on dbd, or several different httpd modules and applications which consume dbd?). The cache should probably be more tightly bound, perhaps to the pool of the apr_dbd_provider_t reference, if it's ment to survive several cycles of open/query/close. At least each consuming app, lib or module might have it's own cache, since these shouldn't be relevant outside of the original consumer. Bill