Author: turnstep
Date: Mon Feb 18 09:38:26 2008
New Revision: 10786

Modified:
   DBD-Pg/trunk/t/99cleanup.t

Log:
disconnect cleaner.


Modified: DBD-Pg/trunk/t/99cleanup.t
==============================================================================
--- DBD-Pg/trunk/t/99cleanup.t  (original)
+++ DBD-Pg/trunk/t/99cleanup.t  Mon Feb 18 09:38:26 2008
@@ -19,5 +19,5 @@
 isnt( $dbh, undef, 'Connect to database for cleanup');
 
 cleanup_database($dbh);
-$dbh->disconnect();
+$dbh->disconnect() if defined $dbh andref $dbh;
 

Reply via email to