Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
bd846555
Commit
bd846555
authored
Nov 11, 2010
by
Andreas Kusalananda Kähäri
Browse files
Die if we can't find any databases for the mentioned release.
parent
e745f369
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
misc-scripts/production_database/scripts/update_database_list.pl
...ripts/production_database/scripts/update_database_list.pl
+5
-0
No files found.
misc-scripts/production_database/scripts/update_database_list.pl
View file @
bd846555
...
...
@@ -156,6 +156,11 @@ foreach my $server (@servers) {
$dbh
->
disconnect
();
}
## end foreach my $server (@servers)
if
(
scalar
(
keys
(
%databases
)
)
==
0
)
{
die
(
sprintf
(
"
Did not find any databases for release %d
\n
",
$release
)
);
}
{
my
$dsn
=
sprintf
(
'
DBI:mysql:host=%s;port=%d;database=%s
',
$master
,
$dbport
,
'
ensembl_production
'
);
...
...
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