Commit 1985514e authored by bbaetz%acm.org's avatar bbaetz%acm.org

Bug 193985 - errors from SendSQL aren't being reported

r,a=justdave
parent 596fcf2a
...@@ -65,11 +65,11 @@ sub SendSQL { ...@@ -65,11 +65,11 @@ sub SendSQL {
$_current_sth = Bugzilla->dbh->prepare($str); $_current_sth = Bugzilla->dbh->prepare($str);
$_current_sth->execute;
# This is really really ugly, but its what we get for not doing # This is really really ugly, but its what we get for not doing
# error checking for 5 years. See bug 189446 and bug 192531 # error checking for 5 years. See bug 189446 and bug 192531
$_current_sth->{RaiseError} = 0; $_current_sth->{RaiseError} = 0;
return $_current_sth->execute;
} }
# Its much much better to use bound params instead of this # Its much much better to use bound params instead of this
......
Markdown is supported
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