Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
01821275
Commit
01821275
authored
Nov 01, 2010
by
Andreas Kusalananda Kähäri
Browse files
And now don't try to use the host name as the database name... doh...
parent
f4ae246e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/Bio/EnsEMBL/Registry.pm
modules/Bio/EnsEMBL/Registry.pm
+2
-2
No files found.
modules/Bio/EnsEMBL/Registry.pm
View file @
01821275
...
...
@@ -2598,7 +2598,7 @@ SECONDLOOP:
}
my
$dbh
=
$dbc
->
db_handle
();
my
$db
host
=
$dbc
->
host
();
my
$db
name
=
$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
,
$db
host
,
undef
,
$db
name
,
sprintf
(
"
%s_stable_id
",
lc
(
$type
)
)
)
);
my
$sth
=
$dbh
->
prepare
(
$statement
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment