X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fdb_mysql.pl;h=1e97faa08ff057b1a08296db7683f1d1014fd0de;hb=e4c1aa7368d866e7f32ac18d286349193da3675b;hp=f7178deb3f36268b2a837063d46123782b97a08f;hpb=5a4aa0c1c0e107b8b4fd9ba9a957f2aadf963770;p=infobot.git diff --git a/src/db_mysql.pl b/src/db_mysql.pl index f7178de..1e97faa 100644 --- a/src/db_mysql.pl +++ b/src/db_mysql.pl @@ -85,6 +85,8 @@ sub dbGetCol { $query .= " WHERE ".$where if ($where); my %retval; + &DEBUG("dbGetCol: query => '$query'."); + my $sth = $dbh->prepare($query); &SQLDebug($query); if (!$sth->execute) {