Skip to content

Commit

Permalink
make exact name matches case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
lstein committed Mar 9, 2012
1 parent a870026 commit d3af015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bio/DB/SeqFeature/Store/DBI/SQLite.pm
Expand Up @@ -766,7 +766,7 @@ sub _name_sql {
my $from = "$name_table as n";
my ($match,$string) = $self->_match_sql($name);

my $where = "n.id=$join AND n.name $match";
my $where = "n.id=$join AND lower(n.name) $match";
$where .= " AND n.display_name>0" unless $allow_aliases;
return ($from,$where,'',$string);
}
Expand Down

0 comments on commit d3af015

Please sign in to comment.