From: cyeh%bluemartini.com <> Date: Tue, 27 Jun 2000 06:04:40 +0000 (+0000) Subject: fix for DBI compatibility X-Git-Tag: bugzilla-2.12~250 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b918ec46def844438a716f2917d1375539ae07;p=thirdparty%2Fbugzilla.git fix for DBI compatibility --- diff --git a/globals.pl b/globals.pl index 80f517c85f..91ef44ceec 100644 --- a/globals.pl +++ b/globals.pl @@ -132,7 +132,7 @@ sub SendSQL { SqlLog($str); $::currentquery = $::db->prepare($str); $::currentquery->execute - || die "$str: " . $::db->errmsg; + || die "$str: " . $::db->errstr; SqlLog("Done"); if (!$dontshadow && $iswrite && Param("shadowdb")) { my $q = SqlQuote($str);