query on "process_cgi"

ukhas jean ukh_dtl at yahoo.com
Wed Oct 4 05:21:10 UTC 2006

Hello Dave et al,
  Thanks ... i think i understand the logic behind it now ... one more question ... 
  Y is this SQL query required ?? i cant figure y deletion of keywords have to take place ... ??
  Following is snippet of code from process_bug.cgi:-
     my $changed = 0;
        if ($keywordaction eq "makeexact") {
   SendSQL("DELETE FROM keywords WHERE bug_id = $id");
      $changed = 1;
David Miller <justdave at bugzilla.org> wrote:
  ukhas jean wrote on 10/3/06 10:02 AM:

> I was working on process_bug.cgi. Can anyone tell me why "makeexact"
> value is used??

I don't have it open in front of me right at the moment, but I believe
that's used in the case of the submission coming from the "change
several bugs at once" form for fields that can have multiple values such
as keywords. The context is to "add these keywords to all of these
bugs", "remove these keywords from all of these bugs", or "make the
keyword list on all of these bugs exactly this list".

Dave Miller http://www.justdave.net/
System Administrator, Mozilla Corporation http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System http://www.bugzilla.org/
To view or change your list settings, click here:

Get your email and more, right on the  new Yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20061003/0afe9b97/attachment.html>

More information about the developers mailing list