Skip to content
Snippets Groups Projects
Commit 638da2c1 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Fix bug found by unit-tests.

parent 290ef29d
No related branches found
No related tags found
No related merge requests found
......@@ -697,10 +697,10 @@ sub fetch_all {
$sth->execute();
} else {
$sth =
$self->prepare( 'SELECT seq_region_id, name, '
. 'length, coord_system_id '
. 'FROM seq_region sr, coord_system cs '
. 'WHERE coord_system_id = ?' );
$self->prepare( 'SELECT sr.seq_region_id, sr.name, '
. 'sr.length, sr.coord_system_id '
. 'FROM seq_region sr '
. 'WHERE sr.coord_system_id = ?' );
$sth->bind_param( 1, $orig_cs->dbID, SQL_INTEGER );
$sth->execute();
......
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