From 8b672d4f203f4c37cdce5a186c9f891d3f31075c Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Wed, 23 Oct 2013 07:51:44 +0000 Subject: [PATCH] [ENSCORESW-728]. PASS and DBNAME are now passed back in a way compatible with rearrange. Before we missed of the preceeding - in these params. That is now fixed. --- modules/Bio/EnsEMBL/DBSQL/DBConnection.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm b/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm index 82ce05b230..7e9c8909d6 100644 --- a/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm +++ b/modules/Bio/EnsEMBL/DBSQL/DBConnection.pm @@ -1121,8 +1121,8 @@ sub to_hash { -USER => $self->username(), -DRIVER => $self->driver(), }; - $hash->{'DBNAME'} = $self->dbname() if defined $self->dbname(); - $hash->{'PASS'} = $self->password() if defined $self->password(); + $hash->{'-DBNAME'} = $self->dbname() if defined $self->dbname(); + $hash->{'-PASS'} = $self->password() if defined $self->password(); return $hash; } -- GitLab