]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 95546. MySQL versions before 3.23 don't support INNER JOINs
authorjake%acutex.net <>
Thu, 16 Aug 2001 22:28:33 +0000 (22:28 +0000)
committerjake%acutex.net <>
Thu, 16 Aug 2001 22:28:33 +0000 (22:28 +0000)
Patch by Myk Melez <myk@mozilla.org>
r= jake@acutex.net

buglist.cgi

index 8ca7d293e183cf411bef09adab063c4d8e38eac5..0f6dbed4116221f7db39f82829bfe9162d9b3ce5 100755 (executable)
@@ -242,8 +242,8 @@ sub GenerateSQL {
             push(@supptables, "longdescs $table");
             push(@wherepart, "$table.bug_id = bugs.bug_id");
             my $ptable = "longdescnames_";
-            push(@supptables,
-                 "INNER JOIN profiles $ptable ON $table.who = $ptable.userid");
+            push(@supptables, "profiles $ptable");
+            push(@wherepart, "$table.who = $ptable.userid");
             push(@clist, "$ptable.login_name", $type, $email);
         }
         if (@clist) {