Skip to content
Snippets Groups Projects
Commit abd78e4d authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Bugfix for ambiguous xref_id in query causing xref pipeline to halt.

parent 1ffc053d
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,7 @@ sub entry_number_check{
my %old_object_xref_count;
my %new_object_xref_count;
my $sth = $self->xref->dbc->prepare('select s.name, count(distinct xref_id, ensembl_id) from xref x, object_xref ox, source s where ox.xref_id = x.xref_id and x.source_id = s.source_id and ox_status = "DUMP_OUT" and s.name not like "AFFY%" group by s.name');
my $sth = $self->xref->dbc->prepare('select s.name, count(distinct x.xref_id, ensembl_id) from xref x, object_xref ox, source s where ox.xref_id = x.xref_id and x.source_id = s.source_id and ox_status = "DUMP_OUT" and s.name not like "AFFY%" group by s.name');
$sth->execute();
my ($name, $count);
$sth->bind_columns(\$name,\$count);
......
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