Skip to content

Commit

Permalink
Added some debugging helper code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 2, 2009
1 parent 16bd0b5 commit db49fa9
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 86 deletions.
2 changes: 1 addition & 1 deletion IcculusNews_daemon.pl
Expand Up @@ -938,7 +938,7 @@ sub generate_pword {
" on r.qid=$id and r.uid=$auth_uid" .
" where q.id=$id and q.owner=u.id";
my $sth = $link->prepare($sql);
$sth->execute() or report_fatal("can't execute query: $sth->errstr");
$sth->execute() or report_fatal("can't execute query ($sql): $sth->errstr");
my @row = $sth->fetchrow_array();
$sth->finish();

Expand Down

0 comments on commit db49fa9

Please sign in to comment.