Re: Apache::DBI and mod_perl 2.0.1

2005-07-02 Thread Vincent Moneymaker
Philip G. Gollucci wrote: You are correct in what it does; however, its not an issue as far as I can see. The reason being is that the last arg of connect is the \%attrs hash ref. Its replacing the password with *'s and then showing all SCALAR (aka simple to the lazy programer) parameters :)

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Philip M. Gollucci
Vincent Moneymaker wrote: Philip, I think I've spotted another small Apache/DBI issue that I thought I would run by you. In the 'connect' function inside the DBI.pm module (as opposed to the Apache/DBI.pm) there are somes lines about 12 lines down from the start of the 'connect' function that

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Vincent Moneymaker
Philip, I think I've spotted another small Apache/DBI issue that I thought I would run by you. In the 'connect' function inside the DBI.pm module (as opposed to the Apache/DBI.pm) there are somes lines about 12 lines down from the start of the 'connect' function that reads as follows $connec

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Joshua Hoblitt
On Thu, Jun 30, 2005 at 05:58:29PM -0400, Philip M. Gollucci wrote: > > > http://p6m7g8.net/Apache-DBI > > The 0.97's connect_on_init() works under MP2. > > In fact p6m7g8.net is running it on a backend server. I know, I had already tested it. Perhaps I should have been more specific and said,

Re: Apache::DBI and mod_perl 2.0.1

2005-07-01 Thread Joshua Hoblitt
On Thu, Jun 30, 2005 at 11:25:26AM -0400, Philip M. Gollucci wrote: > Mark A. Downing wrote: > > >On Thu, 30 Jun 2005, Philip M. Gollucci wrote: > > > >>Thanks for this Mark. (Un)fortunately you've been beat to it and > >>there are "few" more changes to > >>get all of it working with mp2. > > >

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Vincent Moneymaker wrote: From Apache::DBI: > if ($Apache::ServerStarting and $Apache::ServerStarting == 1) { >print STDERR "$prefix skipping connection during server startup, read the docu !!\n" if $Apache::DBI::DEBUG > 1; >return $drh->connect(@arg

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Philip M. Gollucci
Vincent Moneymaker wrote: I have a question which I am not sure whether it is loopy or not. In the Apache::DBI module module the variable '$Apache::ServerStarting' is used but I can't find any reference to it on the mod_perl site or elsewhere under /usr/local/lib/perl5 on my FreeBSD box. The m

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Vincent Moneymaker
> Joshua Hoblitt wrote: > > >On Thu, Jun 30, 2005 at 11:25:26AM -0400, Philip M. Gollucci wrote: > > > > > >>Mark A. Downing wrote: > >> > >> > >> > >>>On Thu, 30 Jun 2005, Philip M. Gollucci wrote: > >>> > >>> > >>> > Thanks for this Mark. (Un)fortunately you've been beat to it and > ther

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Philip M. Gollucci
Joshua Hoblitt wrote: On Thu, Jun 30, 2005 at 11:25:26AM -0400, Philip M. Gollucci wrote: Mark A. Downing wrote: On Thu, 30 Jun 2005, Philip M. Gollucci wrote: Thanks for this Mark. (Un)fortunately you've been beat to it and there are "few" more changes to get all of it wor

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Philip M. Gollucci
Mark A. Downing wrote: On Thu, 30 Jun 2005, Philip M. Gollucci wrote: Thanks for this Mark. (Un)fortunately you've been beat to it and there are "few" more changes to get all of it working with mp2. Very nice. Thanks. Can we get that pushed up to CPAN? Umm Talk to Ask B. H. He's be

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Mark A. Downing
On Thu, 30 Jun 2005, Philip M. Gollucci wrote: Thanks for this Mark. (Un)fortunately you've been beat to it and there are "few" more changes to get all of it working with mp2. Very nice. Thanks. Can we get that pushed up to CPAN?

Re: Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Philip M. Gollucci
Mark A. Downing wrote: Hi, I made a couple of changes to Apache::DBI to allow connect_on_init to work with mod_perl2. Here's the diff if anyone is interested: Thanks for this Mark. (Un)fortunately you've been beat to it and there are "few" more changes to get all of it working with mp2.

Apache::DBI and mod_perl 2.0.1

2005-06-30 Thread Mark A. Downing
Hi, I made a couple of changes to Apache::DBI to allow connect_on_init to work with mod_perl2. Here's the diff if anyone is interested: diff DBI.pm DBI.pm.old 11,12d10 < use constant MP2 => $mod_perl2::VERSION >= 1.99; < 37,44c35,37 < if (MP2) { server->push_han