Skip to content
Snippets Groups Projects
Commit c486a480 authored by Ian Longden's avatar Ian Longden
Browse files

reconnect before parsing.

parent 88191c9d
No related branches found
No related tags found
No related merge requests found
......@@ -776,6 +776,10 @@ sub parse_mappings {
my $dir = $self->dir();
#create new connections incase old ones have died.
$core_dbi = $self->dbi();
$xref_dbi = $self->xref()->dbi();
# get current max object_xref_id
my $row = @{$core_dbi->selectall_arrayref("SELECT MAX(object_xref_id) FROM object_xref")}[0];
my $max_object_xref_id = @{$row}[0];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment