RE: [ANNOUNCE] Apache::DBI 0.90_02

2003-01-11 Thread Beau E. Cox
WOW!

I had heard moving A:DBI to 2 was going to be very difficult!
I've been waiting...

I'll try it this weekend...

Thanks and Aloha = Beau;

-Original Message-
From: Ask Bjoern Hansen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 5:30 PM
To: [EMAIL PROTECTED]
Subject: [ANNOUNCE] Apache::DBI 0.90_02



Last night I spent a bit of time making a proper test for
Apache::DBI and make it work without Apache.pm.  Just now I made it
work with mod_perl 2.0.  I have only tested that very briefly.

Until it hits your CPAN mirror, get it from:
http://develooper.com/code/Apache::DBI/

Or from CVS; instructions at
http://dev.perl.org/cvs/info?module=Apache/DBI/

Please try it out if you have a chance.  I would also like to see
more tests added to the t/ directory.


 - ask


Apache-DBI-0.90_02.tar.gz has entered CPAN as

  file: $CPAN/authors/id/A/AB/ABH/Apache-DBI-0.90_02.tar.gz
  size: 26770 bytes
   md5: e8c1082b19ad6a01bd572e13628da17d


Changes since 0.89:


0.90_02 January 10, 2003
- Changes to make Apache::DBI load and function under mod_perl
  2.0.  A few important notes: connect_on_init does not work yet
  and there's no automatic RollBack cleanup handler when
  autocommit is turned off.

0.90_01 January 10, 2003
- Only call Apache::Status if Apache.pm is completely loaded
- Make Test::More a prerequisite so we can do real tests
- Make DBI.pm a prerequisite
- Add a simple, but real, test script.  Requires DBD::mysql
  and a test database







Re: [ANNOUNCE] Apache::DBI 0.90_02

2003-01-11 Thread Stas Bekman
Beau E. Cox wrote:

WOW!

I had heard moving A:DBI to 2 was going to be very difficult!
I've been waiting...


I think it's not what you think. The difficult thing is the pool over 
threads support, so you can re-use the same connection over all threads 
in the process. 0.90_02 version has a pool per proc/thread, no sharing.
But you still benefit from the per-process cache just as in mod_perl 1.0.

[...]

0.90_02 January 10, 2003
- Changes to make Apache::DBI load and function under mod_perl
  2.0.



__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




RE: [ANNOUNCE] Apache::DBI 0.90_02

2003-01-11 Thread Ask Bjoern Hansen
On Fri, 10 Jan 2003, Beau E. Cox wrote:

 I had heard moving A:DBI to 2 was going to be very difficult!
 I've been waiting...

As Stas said, it really wasn't.  You might even have been able to
with Apache::compat; I did not try.

The harder part is to make the database handles shared across a pool
of threads.  But just having it work like it does in Apache 1.x is
much better than not having it work at all!  :-)


 - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();