diff --git a/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm index 72d6f2b70cdf6e68b92d799a4e51530379c4e9b8..749dd59e88c3a6546c229992464e192c3ae1d3d1 100644 --- a/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/TranscriptAdaptor.pm @@ -169,6 +169,7 @@ sub fetch_by_translation_stable_id { $sth->execute("$transl_stable_id"); my ($id) = $sth->fetchrow_array; + $sth->finish; if ($id){ return $self->fetch_by_dbID($id); } else { @@ -205,6 +206,7 @@ sub fetch_by_translation_id { $sth->execute($id); my ($dbID) = $sth->fetchrow_array; + $sth->finish; if ($dbID){ return $self->fetch_by_dbID($dbID); } else {