aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-09-07 08:32:13 +0000
committerjustdave%syndicomm.com <>2001-09-07 08:32:13 +0000
commitdac2f59798ada0a77717d4a6f455901c8bf1c10a (patch)
tree5905b4d6dc1c38cca6992447efd5687e811f82ea
parentad00b1a24a038c01a9e57a7cbace4165de958e1b (diff)
downloadbugs-dac2f59798ada0a77717d4a6f455901c8bf1c10a.tar
bugs-dac2f59798ada0a77717d4a6f455901c8bf1c10a.tar.gz
bugs-dac2f59798ada0a77717d4a6f455901c8bf1c10a.tar.bz2
bugs-dac2f59798ada0a77717d4a6f455901c8bf1c10a.tar.xz
bugs-dac2f59798ada0a77717d4a6f455901c8bf1c10a.zip
refix for bug 91808: previous patch for this bug used an INNER JOIN construct in the SQL, which is not supported by the
minimum version of MySQL that we require. Patch by Matthew Tuck <matty@chariot.net.au> r= justdave x2
-rwxr-xr-xsanitycheck.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 72a2d3818..89861b4ed 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -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 = ();