Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
86fcb2ef
Commit
86fcb2ef
authored
15 years ago
by
Andreas Kusalananda Kähäri
Browse files
Options
Downloads
Patches
Plain Diff
Small fixes.
parent
a338b239
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/ontology/scripts/compute_closure.pl
+11
-7
11 additions, 7 deletions
misc-scripts/ontology/scripts/compute_closure.pl
with
11 additions
and
7 deletions
misc-scripts/ontology/scripts/compute_closure.pl
+
11
−
7
View file @
86fcb2ef
...
...
@@ -22,12 +22,12 @@ sub usage {
printf
(
"
\t
%s
\t
-?
\n
",
$
0
);
print
("
\n
");
print
("
Arguments:
\n
");
print
("
\t
-h dbhost
\t
Database server host name
\n
");
print
("
\t
-P dbport
\t
Database server port (optional)
\n
");
print
("
\t
-u dbuser
\t
Database user name
\n
");
print
("
\t
-p dbpass
\t
User password (optional)
\n
");
print
("
\t
-d dbname
\t
Database name
\n
");
print
("
\t
-?
\t\t
Displays this information
\n
");
print
("
\t
-h
/--host
dbhost
\t
Database server host name
\n
");
print
("
\t
-P
/--port
dbport
\t
Database server port (optional)
\n
");
print
("
\t
-u
/--user
dbuser
\t
Database user name
\n
");
print
("
\t
-p
/--pass
dbpass
\t
User password (optional)
\n
");
print
("
\t
-d
/--name
dbname
\t
Database name
\n
");
print
("
\t
-?
/--help
\t\t
Displays this information
\n
");
}
#-----------------------------------------------------------------------
...
...
@@ -44,7 +44,7 @@ if (
'
dbport|port|P=i
'
=>
\
$dbport
,
'
dbuser|user|u=s
'
=>
\
$dbuser
,
'
dbpass|pass|p=s
'
=>
\
$dbpass
,
'
dbname|
d=s
'
=>
\
$dbname
,
'
dbname|
name|d=s
'
=>
\
$dbname
,
'
help|?
'
=>
sub
{
usage
();
exit
}
)
||
!
defined
(
$dbhost
)
||
!
defined
(
$dbuser
)
...
...
@@ -127,3 +127,7 @@ while ( !defined($newsize) || $newsize > $oldsize ) {
$dbh
->
do
('
ALTER TABLE closure ENABLE KEYS
');
$dbh
->
do
('
OPTIMIZE TABLE closure
');
$dbh
->
disconnect
();
# $Id$
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment