DBI has a warning about multiple copies of Driver.xst found in @INC, but
this warning also fires when @INC has the same directory in it twice,
which isn't something to worry about. This patch quietens the warning
in that case.
diff -ru DBI-1.48/lib/DBI/DBD.pm DBI-1.48-new/lib/DBI/DBD.pm
---
This patch stops DBI printing the connection password in an error
message.
diff -ru DBI-1.40/DBI.pm DBI-1.40-new/DBI.pm
--- DBI-1.40/DBI.pm 2004-01-08 14:03:57.0 +
+++ DBI-1.40-new/DBI.pm 2004-01-30 14:54:52.0 +
@@ -532,7 +532,7 @@
# Set $driver. Old style
This patch to DBI-1.40 fixes an error
Can't use an undefined value as an ARRAY reference at DBI.pm line 1735
when using execute_array() with zero values for a bind parameter. It
includes some new test cases, but not all of the new tests failed
before.
diff -ru DBI-1.40/DBI.pm
Tim Bunce [EMAIL PROTECTED] wrote:
Actualy I did this instead, as it seems more correct:
@@ -1720,5 +1721,6 @@
sub execute_for_fetch {
my ($sth, $fetch_tuple_sub, $tuple_status) = @_;
- @$tuple_status = () if $tuple_status; # reset the status array
+ # start with empty
(I hope you don't mind me jumping in on the dbi-devel list with this small
patch; I am not a subscriber so please cc me on replies.)
Sometimes DBI will give an uninitalized value warning when reporting some
other error. This is harmless but a bit annoying and worrying. This patch
fixes the