git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@662
c11ca15a-4712-0410-83d8-
924469b57eb5
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<P><B>SQL Hashref Error</B><BR>\n";
unless ($c->execute) {
- apacheLog($sql);
- #kill 9,$$;
+# apacheLog($sql);
+ #kill 9,$$;
}
return $c;