From aa9b361d25355e0cb7d25d4c5d6df32148536b7a Mon Sep 17 00:00:00 2001 From: dms Date: Thu, 21 Nov 2002 19:45:54 +0000 Subject: [PATCH] - shoot me for not testing before committing. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@662 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/dbi.pl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/dbi.pl b/src/dbi.pl index 144e894..824efb7 100644 --- a/src/dbi.pl +++ b/src/dbi.pl @@ -227,18 +227,17 @@ sub dbSelectManyHash { my $sql; $sql = "SELECT $select "; - $sql .= "FROM $from " if $from; - $sql .= "WHERE $where " if $where; - $sql .= "$other" if $other; - $debug_sql = $sql; + $sql .= "FROM $from " if $from; + $sql .= "WHERE $where " if $where; + $sql .= "$other" if $other; - sqlConnect(); - my $c = $I{dbh}->prepare($sql); +# sqlConnect(); + my $c = $dbh->prepare($sql); # $c->execute or print "\n

SQL Hashref Error
\n"; unless ($c->execute) { - apacheLog($sql); - #kill 9,$$; +# apacheLog($sql); + #kill 9,$$; } return $c; -- 2.39.5