[Fwd: Scmbug problem]

Kristis Makris mkgnu at gmx.net
Mon Dec 5 18:24:08 UTC 2005


Aleksey, have you seen anything like this before ?

Bugzilla/DB.pm line 82 is the dbh->prepare statement from Bugzilla 2.20.

sub SendSQL {
    my ($str) = @_;

    $_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;

    undef $_fetchahead;
}

I'm suspecting the 2.20 backend in Scmbug should stop using SendSQL.

Bugzilla devs: what should be used instead of SendSql ?

Thanks,
Kristis
-------------- next part --------------
An embedded message was scrubbed...
From: "Christoph Mueller" <CMU at ap-ag.com>
Subject: Scmbug problem
Date: Mon, 5 Dec 2005 15:01:50 +0100
Size: 4169
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20051205/e350ce80/attachment.mht>


More information about the developers mailing list