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

Wrong column name

parent 63ded494
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@ if ( scalar( keys(%existing_databases) ) !=
my $yesno = <STDIN>;
chomp($yesno);
if ( lc($yesno) =~ /^y(?:es)?$/ ) {
my @dbid = $dbh->selectrow_array('select db_id from db_list where full_name =?', {}, $db_name);
my @dbid = $dbh->selectrow_array('select db_id from db_list where full_db_name =?', {}, $db_name);
my $sth = $dbh->prepare('delete from db where db_id =?');
$sth->execute($dbid[0]);
$sth->finish();
......
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