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

fixed synonym bug

parent f72c049f
No related branches found
No related tags found
No related merge requests found
......@@ -1386,7 +1386,7 @@ PSQL
# more than one synonym so they are stored in a hash of lists
my $syn_count = 0;
my %synonyms;
my $syn_sth = $self->xref->dbc->prepare("SELECT xref_id, synonym FROM synonym");
my $syn_sth = $self->xref->dbc->prepare("SELECT xref_id, synonym FROM synonym and xref_id in ($list)");
$syn_sth->execute();
my ($sxref_id, $synonym);
......
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