Skip to content
Snippets Groups Projects
Commit 4e1c6cc9 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

name column changed to common_name in species table

parent 7edb69ed
No related branches found
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@ SQL
{}, $db_hash->{species_id}, $db_hash->{db_type}, $release);
if($already_recorded[0]) {
my @name = $dbh->selectrow_array('select name from species where species_id =?', {}, $db_hash->{species_id});
my @name = $dbh->selectrow_array('select common_name from species where species_id =?', {}, $db_hash->{species_id});
printf("Species '%s' has a database '%s' recorded for this release. Updating\n", $name[0], $database);
$update_sth->bind_param( 1, 1, SQL_INTEGER );
......
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