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
...@@ -697,10 +697,10 @@ sub fetch_all { ...@@ -697,10 +697,10 @@ sub fetch_all {
$sth->execute(); $sth->execute();
} else { } else {
$sth = $sth =
$self->prepare( 'SELECT seq_region_id, name, ' $self->prepare( 'SELECT sr.seq_region_id, sr.name, '
. 'length, coord_system_id ' . 'sr.length, sr.coord_system_id '
. 'FROM seq_region sr, coord_system cs ' . 'FROM seq_region sr '
. 'WHERE coord_system_id = ?' ); . 'WHERE sr.coord_system_id = ?' );
$sth->bind_param( 1, $orig_cs->dbID, SQL_INTEGER ); $sth->bind_param( 1, $orig_cs->dbID, SQL_INTEGER );
$sth->execute(); $sth->execute();
......
Markdown is supported
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