From: bbaetz%acm.org <> Date: Thu, 20 Feb 2003 15:07:42 +0000 (+0000) Subject: Bug 193985 - errors from SendSQL aren't being reported X-Git-Tag: bugzilla-2.17.4~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1985514e57cc05f9a3acf140c56cda6cfb226925;p=thirdparty%2Fbugzilla.git Bug 193985 - errors from SendSQL aren't being reported r,a=justdave --- diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 0de9b612c5..29935928de 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