]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
refix for bug 91808: previous patch for this bug used an INNER JOIN construct in...
authorjustdave%syndicomm.com <>
Fri, 7 Sep 2001 08:32:13 +0000 (08:32 +0000)
committerjustdave%syndicomm.com <>
Fri, 7 Sep 2001 08:32:13 +0000 (08:32 +0000)
minimum version of MySQL that we require.
Patch by Matthew Tuck <matty@chariot.net.au>
r= justdave x2

sanitycheck.cgi

index 72a2d3818668d0b89f56c4e4b1ea115c0f3011e5..89861b4edb94ef77c5349ded48b0d85f746901ac 100755 (executable)
@@ -399,8 +399,9 @@ if (@badbugs) {
 Status("Checking duplicates table");
 
 SendSQL("SELECT bugs.bug_id " .
-        "FROM bugs INNER JOIN duplicates ON bugs.bug_id = duplicates.dupe " .
+        "FROM bugs, duplicates " .
         "WHERE bugs.resolution != 'DUPLICATE' " .
+        "  AND bugs.bug_id = duplicates.dupe " .
         "ORDER BY bugs.bug_id");
 
 @badbugs = ();