Commit df2f05d6 authored by jake%acutex.net's avatar jake%acutex.net

Fix for bug 95546. MySQL versions before 3.23 don't support INNER JOINs

Patch by Myk Melez <myk@mozilla.org> r= jake@acutex.net
parent 9700dfd0
...@@ -242,8 +242,8 @@ sub GenerateSQL { ...@@ -242,8 +242,8 @@ sub GenerateSQL {
push(@supptables, "longdescs $table"); push(@supptables, "longdescs $table");
push(@wherepart, "$table.bug_id = bugs.bug_id"); push(@wherepart, "$table.bug_id = bugs.bug_id");
my $ptable = "longdescnames_"; my $ptable = "longdescnames_";
push(@supptables, push(@supptables, "profiles $ptable");
"INNER JOIN profiles $ptable ON $table.who = $ptable.userid"); push(@wherepart, "$table.who = $ptable.userid");
push(@clist, "$ptable.login_name", $type, $email); push(@clist, "$ptable.login_name", $type, $email);
} }
if (@clist) { if (@clist) {
......
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