From fcfce4d6a7e1d5bfbe668aee3f3a551cd3fbac8e Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Mon, 21 Jun 2010 10:27:32 +0000
Subject: [PATCH] Bugfix to _list_dbIDs() when it was using the generic bind
 params method from DBAdaptor however we never went through generic_fetch() so
 params were never bound.

---
 modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm
index 7d25e3a65e..884cd3d71d 100755
--- a/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm
@@ -293,7 +293,7 @@ WHERE cs.species_id = ?
   my $sth = $self->prepare($sql);
 
   if ($join_with_cs) {
-    $self->bind_param_generic_fetch( $self->species_id(), SQL_INTEGER );
+    $sth->bind_param( 1, $self->species_id(), SQL_INTEGER );
   }
 
   eval { $sth->execute() };
-- 
GitLab