apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: sqlite3 dbd provider question
Date Mon, 19 May 2008 19:32:05 GMT
William A. Rowe, Jr. wrote:
> I'm reviewing the providers themselves and trying to determine how and when
> the dbd lock api should be used vs. a dso-module apr-util wide mutex should
> be used instead.
> 
> The oracle provider alone is using this lock to prepare statements.  While
> the sqlite3 provider seems to use it much more extensively, and the other
> providers aren't using it at all.
> 
> Can someone explain the discrepancy, and if they shouldn't be per-provider
> mutexes so we aren't blocking in silly ways between providers accessed by
> different threads?

And a related question, any prepared statement can be portably used across
any of the databases open within the specific provider.  Correct?


Mime
View raw message