From dea8c9cf760585e0be18ed3bdcba4c16e017d06a Mon Sep 17 00:00:00 2001
From: Javier Herrero <jh7@sanger.ac.uk>
Date: Mon, 25 Jun 2007 12:55:21 +0000
Subject: [PATCH] Add a couple of missing $sth->finish

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

diff --git a/modules/Bio/EnsEMBL/DBSQL/AssemblyMapperAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/AssemblyMapperAdaptor.pm
index dd8039ed98..23e12b70c1 100644
--- a/modules/Bio/EnsEMBL/DBSQL/AssemblyMapperAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/AssemblyMapperAdaptor.pm
@@ -844,6 +844,7 @@ sub register_chained {
                                             $start_end);
       }
     }
+    $sth->finish();
   }
 
   # in the one step case, we load the mid ranges in the
@@ -918,6 +919,7 @@ sub register_chained {
       #register this region on the end coord system
       $end_registry->check_and_register($end_seq_region_id, $end_start, $end_end);
     }
+    $sth->finish();
   }
 
   #########
-- 
GitLab