Commit 6de4da6b authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: protect the DBC URLs that have extra DBC parameters added via a semicolon

parent cb295e9c
......@@ -379,7 +379,7 @@ sub db_cmd {
$db_url //= $self->pipeline_url();
my $db_cmd_path = $self->o('hive_root_dir').'/scripts/db_cmd.pl';
return "$db_cmd_path -url $db_url".($sql_command ? " -sql '$sql_command'" : '');
return "$db_cmd_path -url '$db_url'".($sql_command ? " -sql '$sql_command'" : '');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment