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

$connect_meth ||= $DBI::connect_via;    # fallback to default
$dsn ||= $ENV{DBI_DSN} || $ENV{DBI_DBNAME} || '' unless $old_driver;
if ($DBI::dbi_debug) {
local $^W = 0;
pop @_ if $connect_meth ne 'connect';
my @args = @_; $args[2] = '****'; # hide password
DBI->trace_msg("    -> $class->$connect_meth(".join(", ",@args).")\n");
}

This looks like the last value of the @arg array will be popped off where the $connect_meth value has been set to Apache::DBI::connect via the $DBI::connect_via variable. It doesn't seem like a big deal but I could see how it would drive someone crazy if they turned on $DBI::dbi_debug and they weren't getting the messages back that they expected. Let me know if I am wrong on this and what I should do if I am right.

Thanks Vince


Reply via email to