Skip to content
Snippets Groups Projects
Commit eb885c98 authored by Andy Yates's avatar Andy Yates
Browse files

Use the actual DB name

parent a06ddb12
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ my $original_dbname = $support->param('dbname');
if($original_dbname =~ /%/) {
$support->param('dbname', q{});
$dbh = $support->get_dbconnection('');
my $ref = $dbh->selectall_arrayref('show databases like ?', {}, $support->param('dbname'));
my $ref = $dbh->selectall_arrayref('show databases like ?', {}, $original_dbname);
push(@databases, map {$_->[0]} @{$ref})
}
else {
......
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