<div>Dave,</div> <div> </div> <div>Thats sounds cool ... hmm ... but how is the script keeping track of the records it is deleting??</div> <div> </div> <div>Ukh<BR><BR><B><I>David Miller <justdave@bugzilla.org></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">ukhas jean wrote on 10/4/06 1:21 AM:<BR>> Hello Dave et al,<BR>> <BR>> Thanks ... i think i understand the logic behind it now ... one more<BR>> question ... <BR>> Y is this SQL query required ?? i cant figure y deletion of keywords<BR>> have to take place ... ??<BR>> Following is snippet of code from process_bug.cgi:-<BR>> <BR>> my $changed = 0;<BR>> if ($keywordaction eq "makeexact") {<BR>> SendSQL("DELETE FROM keywords WHERE bug_id = $id");<BR>> $changed = 1;<BR>> }<BR><BR>Because if you're making it exactly that list, then none of the existing<BR>keywords need to be on that bug
(well, maybe some of them might, but<BR>it's easier to delete and re-add than to figure out which ones). So it<BR>deletes the entire existing list before adding the new ones.<BR><BR>-- <BR>Dave Miller http://www.justdave.net/<BR>System Administrator, Mozilla Corporation http://www.mozilla.com/<BR>Project Leader, Bugzilla Bug Tracking System http://www.bugzilla.org/<BR>-<BR>To view or change your list settings, click here:<BR><HTTP: mj_wwwusr?user="ukh_dtl@yahoo.com" cgi-bin bugzilla.org><BR></BLOCKQUOTE><BR><p>
<hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.