summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%acutex.net <>2001-09-10 23:12:10 +0200
committerjake%acutex.net <>2001-09-10 23:12:10 +0200
commitacd4e951ba753fa1bd3491ae5766f0bf5db6236b (patch)
treecaeacc3842d71b5b5e9a7defa2062baaa52016c3
parent9725e6faf0088b919789ef8c541cde900906977d (diff)
downloadbugzilla-acd4e951ba753fa1bd3491ae5766f0bf5db6236b.tar.gz
bugzilla-acd4e951ba753fa1bd3491ae5766f0bf5db6236b.tar.xz
Fix for bug 71664 - Don't complain about a bad keyword cache for a bug that doesn't exist.
Patch by Matthew Tuck <matty@chariot.net.au> r= afranke@ags.uni-sb.de, jake@acutex.net
-rwxr-xr-xsanitycheck.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 89861b4ed..3ffe26261 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -336,8 +336,9 @@ if (exists $::FORM{'rebuildkeywordcache'}) {
}
SendSQL("SELECT keywords.bug_id, keyworddefs.name " .
- "FROM keywords, keyworddefs " .
+ "FROM keywords, keyworddefs, bugs " .
"WHERE keyworddefs.id = keywords.keywordid " .
+ " AND keywords.bug_id = bugs.bug_id " .
"ORDER BY keywords.bug_id, keyworddefs.name");
my $lastb;