From 0b57242e180aebd9b9ca03cefbc90d293429e856 Mon Sep 17 00:00:00 2001 From: Matthieu Muffato <muffato@ebi.ac.uk> Date: Wed, 24 Oct 2012 09:15:54 +0000 Subject: [PATCH] One should be able to dump a whole database --- modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm b/modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm index 4d7b2ddd6..36fde87b7 100644 --- a/modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm +++ b/modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm @@ -59,12 +59,11 @@ sub fetch_input { die 'Only the "mysql" driver is supported.' if $src_dbc->driver ne 'mysql'; # Get the table list in either "tables" or "ignores" - die 'The parameter "table_list" is mandatory' unless $self->param('table_list'); + my $table_list = $self->_get_table_list; if ($self->param('exclude_list')) { - my $table_list = $self->_get_table_list; push @ignores, @$table_list; } else { - push @tables, @{$self->_get_table_list}; + push @tables, @$table_list; } # eHive tables are dumped unless exclude_ehive is defined -- GitLab