On Thu, 30 Nov 2006, Michael Peters wrote:
Maybe you could have Apache::DBI issue a warning if it's being loaded
and DBI has already been loaded. Something as simple as the attached
patch should work.
+# we can only do our magic if DBI isn't already loaded
+warn "Apache::DBI must be lo
Larry Leszczynski wrote:
>
> On Wed, 29 Nov 2006, Michael Peters wrote:
>
>> Maybe you could have Apache::DBI issue a warning if it's being loaded
>> and DBI has already been loaded. Something as simple as the attached
>> patch should work.
>>
>> +# we can only do our magic if DBI isn't alr
On Wed, 29 Nov 2006, Michael Peters wrote:
Maybe you could have Apache::DBI issue a warning if it's being loaded
and DBI has already been loaded. Something as simple as the attached
patch should work.
+# we can only do our magic if DBI isn't already loaded
+warn "Apache::DBI must be
On Nov 29, 2006, at 2:46 PM, Philip M. Gollucci wrote:
Michael Peters wrote:
+# we can only do our magic if DBI isn't already loaded
+warn "Apache::DBI must be loaded after DBI to work correctly";
I like it -- any objects list ?
i REALLY like that idea.
it solves the problem AND te
Keep it on list -- others have the same question 'trust me'
Lev Lvovsky wrote:
Philip, not sure if this is possible, but what happens if Apache::DBI is
loaded in the correct order the first time, but then afterwards loaded
again after DBI has been loaded - does the Perl loader make sure this
do
Michael Peters wrote:
--- DBI.pm.old 2006-11-29 14:30:56.0 -0500
+++ DBI.pm 2006-11-29 14:32:05.0 -0500
@@ -15,6 +15,10 @@
$modperl::VERSION < 1.99) {
require Apache;
}
+
+# we can only do our magic if DBI isn't already loaded
+warn "Apach
Philip M. Gollucci wrote:
> If you can suggest a documentation patch you feel clarify things, I'll
> read it over and commit for version 1.06 (sorry about that 1.05 is current)
Maybe you could have Apache::DBI issue a warning if it's being loaded and DBI
has already been loaded. Something as si
Lev Lvovsky wrote:
On Nov 28, 2006, at 11:03 PM, Philip M. Gollucci wrote:
is this mod_perl 1 or 2 ?
Setting $Apache::DBI::Debug = 2; and watching you're error log file
should tell you what its doing.
package X;
# database
our $host = 'mysql.x.y';
our $dsn = "dbi:mysql:db;host=$host";
our $u
On Nov 28, 2006, at 11:03 PM, Philip M. Gollucci wrote:
is this mod_perl 1 or 2 ?
Setting $Apache::DBI::Debug = 2; and watching you're error log file
should tell you what its doing.
package X;
# database
our $host = 'mysql.x.y';
our $dsn = "dbi:mysql:db;host=$host";
our $user = 'u';
our $pass
Lev Lvovsky wrote:
It looks like from reading the docs, that the startup.pl file can handle
specifying more than one user for the purpose of making multiple
connections with different database accounts.
I'm having a problem in retrieving these cached connections when running
the code after se
10 matches
Mail list logo