From 959c15f09af43e549496eb2a0812ef47ae254314 Mon Sep 17 00:00:00 2001
From: Graham McVicker <mcvicker@sanger.ac.uk>
Date: Tue, 19 Nov 2002 16:54:16 +0000
Subject: [PATCH] DBConnection bug (port + driver not set by constructor) fix

---
 modules/Bio/EnsEMBL/DBSQL/DBConnection.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm b/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm
index 7469080b3c..715c2a45c9 100644
--- a/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm
@@ -130,6 +130,8 @@ sub new {
   $self->host( $host );
   $self->dbname( $db );
   $self->password( $password);
+  $self->port($port);
+  $self->driver($driver);
 
   #be very sneaky and actually return a dbholder object which is outside
   #of the circular reference loops and will cleanup after the subclass 
-- 
GitLab