Re: Apache::DBI for persistent connections

2002-10-15 Thread Perrin Harkins

Paul Simon wrote:
> I was under the impression that Apache::DBI isn't compatible for this 
> set up:
> 
> win2000 + apache2.0.42 + perl5.8 + mod_perl1.99
> 
> For a multi threaded environment, isn't Apache::DBIPool necessary?  I'd 
> rather use Apache::DBI.

Apache::DBIPool doesn't actually exist yet.  Apache::DBI will work 
correctly in a threaded environment if your DBD is thread-safe. 
Remember, no variables are shared between Perl threads unless you 
explicitly share them.

- Perrin




Re: Apache::DBI for persistent connections

2002-10-15 Thread Paul Simon
I was under the impression that Apache::DBI isn't compatible for this set up:
win2000 + apache2.0.42 + perl5.8 + mod_perl1.99
For a multi threaded environment, isn't Apache::DBIPool necessary?  I'd rather use Apache::DBI. 
 Rafiq Ismail <[EMAIL PROTECTED]> wrote:
On Tue, 15 Oct 2002, Paul Simon wrote:> variables, such as the DBI handle, offer any benefits (or pain) of a> shared connection?You might want to try using Apache::DBI for persistent connections.It is completely transparent to your code, in terms of changes.R.-- Senior ProgrammerBookings.nl--Me::[EMAIL PROTECTED]||www.dreamthought.comBudget hosting on my 10Mbit/backbone::[EMAIL PROTECTED]