Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

subtle bug fixed: when a type is supplied with a trailing colon (like…

… "repeat:") the Pg adaptor checked whether the $source that resulted was defined (which it was) not whether it was true. As a result, the wrong sql would get generated.
  • Loading branch information...
commit e6c5916cedb05f2ea9f98a302a9bbdeb06da5232 1 parent 3a73b74
@scottcain scottcain authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Bio/DB/SeqFeature/Store/DBI/Pg.pm
View
2  Bio/DB/SeqFeature/Store/DBI/Pg.pm
@@ -691,7 +691,7 @@ sub _types_sql {
($primary_tag,$source_tag) = split ':',$type,2;
}
- if (defined $source_tag) {
+ if ($source_tag) {
push @matches,"lower(tl.tag)=lower(?)";
push @args,"$primary_tag:$source_tag";
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.