From 1985514e57cc05f9a3acf140c56cda6cfb226925 Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" <> Date: Thu, 20 Feb 2003 15:07:42 +0000 Subject: Bug 193985 - errors from SendSQL aren't being reported r,a=justdave --- Bugzilla/DB.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla') 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 -- cgit v1.2.3-24-g4f1b