refix for bug 91808: previous patch for this bug used an INNER JOIN construct in…

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
parent ad00b1a2
......@@ -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 = ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment