Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-hive
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
7
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-hive
Commits
b9a49d69
Commit
b9a49d69
authored
11 years ago
by
Leo Gordon
Browse files
Options
Downloads
Patches
Plain Diff
store and retrieve hive_meta.'hive_use_param_stack'
parent
7633e335
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/Bio/EnsEMBL/Hive/DBSQL/DBAdaptor.pm
+11
-0
11 additions, 0 deletions
modules/Bio/EnsEMBL/Hive/DBSQL/DBAdaptor.pm
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
+2
-0
2 additions, 0 deletions
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
with
13 additions
and
0 deletions
modules/Bio/EnsEMBL/Hive/DBSQL/DBAdaptor.pm
+
11
−
0
View file @
b9a49d69
...
...
@@ -143,6 +143,17 @@ sub hive_use_triggers { # getter only, not setter
}
sub
hive_use_param_stack
{
# getter only, not setter
my
$self
=
shift
@_
;
unless
(
defined
(
$self
->
{'
_hive_use_param_stack
'})
)
{
my
$hive_use_param_stack
=
$self
->
get_MetaAdaptor
->
fetch_value_by_key
(
'
hive_use_param_stack
'
);
$self
->
{'
_hive_use_param_stack
'}
=
$hive_use_param_stack
||
0
;
}
return
$self
->
{'
_hive_use_param_stack
'};
}
sub
get_available_adaptors
{
my
%pairs
=
(
...
...
This diff is collapsed.
Click to expand it.
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
+
2
−
0
View file @
b9a49d69
...
...
@@ -98,6 +98,7 @@ sub default_options {
'
pipeline_name
'
=>
'
hive_generic
',
'
hive_use_triggers
'
=>
0
,
# there have been a few cases of big pipelines misbehaving with triggers on, let's keep the default off.
'
hive_use_param_stack
'
=>
0
,
# do not reconstruct the calling stack of parameters by default (yet)
'
hive_force_init
'
=>
0
,
# setting it to 1 will drop the database prior to creation (use with care!)
'
pipeline_db
'
=>
{
...
...
@@ -219,6 +220,7 @@ sub hive_meta_table {
return
{
'
hive_sql_schema_version
'
=>
Bio::EnsEMBL::Hive::DBSQL::
SqlSchemaAdaptor
->
get_code_sql_schema_version
(),
'
hive_pipeline_name
'
=>
$self
->
o
('
pipeline_name
'),
'
hive_use_param_stack
'
=>
$self
->
o
('
hive_use_param_stack
'),
};
}
...
...
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