Permalink
Browse files

bug 2287

svn path=/bioperl-db/trunk/; revision=614
  • Loading branch information...
1 parent e9ac635 commit f7cf5f81d2aad1ac967b85ae309e09e0a848c2b6 cjfields committed Sep 3, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/DB/BioSQL/mysql/SpeciesAdaptorDriver.pm
@@ -485,7 +485,7 @@ sub get_classification{
", node.".$slotmap->{"node_rank"}.
" FROM $node_table node, $node_table taxon, $name_table name".
" WHERE name.$fkname = node.$pkname AND".
- " taxon.left_value BETWEEN node.left_value AND node.right_value".
+ " taxon.left_value >= node.left_value AND taxon.left_value <= node.right_value".
" AND taxon.$pkname = ?".
" AND name.".$slotmap->{"name_class"}." = 'scientific name'".
" ORDER BY node.left_value";

0 comments on commit f7cf5f8

Please sign in to comment.