diff options
author | mkanat%kerio.com <> | 2005-10-07 03:43:43 +0200 |
---|---|---|
committer | mkanat%kerio.com <> | 2005-10-07 03:43:43 +0200 |
commit | b808272b74ab202b17964fbb64b189e4b912ec2b (patch) | |
tree | d89d16b81a61026a7732245de1cfb60810e38620 /checksetup.pl | |
parent | cf77347aeaa2045ffd27ad2a4a511e9f150bcf49 (diff) | |
download | bugzilla-b808272b74ab202b17964fbb64b189e4b912ec2b.tar.gz bugzilla-b808272b74ab202b17964fbb64b189e4b912ec2b.tar.xz |
Bug 309680: Use SQL "JOIN ... ON ..." syntax instead of "JOIN ... USING(...)"
Patch By Lance Larsh <lance.larsh@oracle.com> r=mkanat, a=justdave
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl index 3f4a68b78..225a3341e 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -2445,7 +2445,7 @@ if (!($sth->fetchrow_arrayref()->[0])) { $sth = $dbh->prepare( "SELECT longdescs.bug_id, thetext " . "FROM longdescs " . - "LEFT JOIN bugs using(bug_id) " . + "LEFT JOIN bugs ON longdescs.bug_id = bugs.bug_id " . "WHERE (" . $dbh->sql_regexp("thetext", "'[.*.]{3} This bug has been marked as a duplicate of [[:digit:]]+ [.*.]{3}'") . ") " . "AND (resolution = 'DUPLICATE') " . |