diff --git a/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm index 68edddc686e5548d0e7e1f7f1a9be10c6e3038d1..366d3eea599437bda3b66a02d9cd715662fdfcd8 100644 --- a/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm @@ -364,10 +364,10 @@ sub store { $sth->bind_param( 1, $exObj->dbname(), SQL_VARCHAR ); $sth->bind_param( 2, $exObj->release(), SQL_VARCHAR ) if defined $exObj->release(); - $sth->execute(); ($dbRef) = $sth->fetchrow_array(); + $sth->finish(); if ( !$dbRef ) { throw(