summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-02-20 16:07:42 +0100
committerbbaetz%acm.org <>2003-02-20 16:07:42 +0100
commit1985514e57cc05f9a3acf140c56cda6cfb226925 (patch)
tree993db544d4c9d426d0e2fa2bb6e1fa1fe399572e /Bugzilla
parent596fcf2a32dae41f9874a62c439188cb295640f7 (diff)
downloadbugzilla-1985514e57cc05f9a3acf140c56cda6cfb226925.tar.gz
bugzilla-1985514e57cc05f9a3acf140c56cda6cfb226925.tar.xz
Bug 193985 - errors from SendSQL aren't being reported
r,a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DB.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 0de9b612c..29935928d 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -65,11 +65,11 @@ sub SendSQL {
$_current_sth = Bugzilla->dbh->prepare($str);
+ $_current_sth->execute;
+
# This is really really ugly, but its what we get for not doing
# error checking for 5 years. See bug 189446 and bug 192531
$_current_sth->{RaiseError} = 0;
-
- return $_current_sth->execute;
}
# Its much much better to use bound params instead of this