Author: timbo
Date: Mon Nov 19 15:14:35 2012
New Revision: 15479
Modified:
dbi/trunk/Changes
dbi/trunk/lib/DBD/Proxy.pm
Log:
Fixed RT#75868 - DBD::Proxy shouldnt call connected() on the server.
Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes (original)
+++ dbi/trunk/Changes Mon Nov 19 15:14:35 2012
@@ -13,6 +13,7 @@
Fixed RT#64330 - ping wipes out errstr (Martin J. Evans).
Fixed RT#80474 - segfault in DESTROY with threads.
+ Fixed RT#75868 - DBD::Proxy shouldn't call connected() on the server.
Fixed unused variable / self-assignment compiler warnings.
Corrected typo in DBI->installed_versions docs RT#78825
Modified: dbi/trunk/lib/DBD/Proxy.pm
==============================================================================
--- dbi/trunk/lib/DBD/Proxy.pm (original)
+++ dbi/trunk/lib/DBD/Proxy.pm Mon Nov 19 15:14:35 2012
@@ -229,11 +229,9 @@
# in a way that might not be visible on the client, ie begin_work ->
AutoCommit.
sub commit;
-sub connected;
sub rollback;
sub ping;
-
use vars qw(%ATTR $AUTOLOAD);
# inherited: STORE / FETCH against this class.
@@ -295,6 +293,9 @@
$dbh->disconnect if $dbh->SUPER::FETCH('Active');
}
+
+sub connected { } # client-side not server-side, RT#75868
+
sub disconnect ($) {
my ($dbh) = @_;