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

And now don't try to use the host name as the database name... doh...

parent f4ae246e
No related branches found
No related tags found
No related merge requests found
......@@ -2598,7 +2598,7 @@ SECONDLOOP:
}
my $dbh = $dbc->db_handle();
my $dbhost = $dbc->host();
my $dbname = $dbc->dbname();
foreach my $type ( 'Gene', 'Transcript', 'Translation', 'Exon' ) {
my $statement =
......@@ -2606,7 +2606,7 @@ SECONDLOOP:
. "FROM %s "
. "WHERE stable_id = ?",
$dbh->quote_identifier(
undef, $dbhost,
undef, $dbname,
sprintf( "%s_stable_id", lc($type) ) ) );
my $sth = $dbh->prepare($statement);
......
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