Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
25d5d986
Commit
25d5d986
authored
Feb 19, 2005
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 282705: Remove newlines from LEFT JOIN parts of SQL in Search.pm
r=lpsolit, a=justdave
parent
cc73e8e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Search.pm
Bugzilla/Search.pm
+9
-9
No files found.
Bugzilla/Search.pm
View file @
25d5d986
...
@@ -453,9 +453,9 @@ sub init {
...
@@ -453,9 +453,9 @@ sub init {
$chartseq
=
"CC$sequence"
;
$chartseq
=
"CC$sequence"
;
$sequence
++
;
$sequence
++
;
}
}
push
(
@supptables
,
"LEFT JOIN cc cc_$chartseq
push
(
@supptables
,
"LEFT JOIN cc cc_$chartseq
"
ON bugs.bug_id = cc_$chartseq.bug_id
.
"ON bugs.bug_id = cc_$chartseq.bug_id "
AND cc_$chartseq.who = $match"
);
.
"
AND cc_$chartseq.who = $match"
);
$term
=
"cc_$chartseq.who IS NOT NULL"
;
$term
=
"cc_$chartseq.who IS NOT NULL"
;
},
},
"^cc,(?:notequals),(%\\w+%)"
=>
sub
{
"^cc,(?:notequals),(%\\w+%)"
=>
sub
{
...
@@ -465,9 +465,9 @@ sub init {
...
@@ -465,9 +465,9 @@ sub init {
$chartseq
=
"CC$sequence"
;
$chartseq
=
"CC$sequence"
;
$sequence
++
;
$sequence
++
;
}
}
push
(
@supptables
,
"LEFT JOIN cc cc_$chartseq
push
(
@supptables
,
"LEFT JOIN cc cc_$chartseq
"
ON bugs.bug_id = cc_$chartseq.bug_id
.
"ON bugs.bug_id = cc_$chartseq.bug_id "
AND cc_$chartseq.who = $match"
);
.
"
AND cc_$chartseq.who = $match"
);
$term
=
"cc_$chartseq.who IS NULL"
;
$term
=
"cc_$chartseq.who IS NULL"
;
},
},
"^cc,(anyexact|substring)"
=>
sub
{
"^cc,(anyexact|substring)"
=>
sub
{
...
@@ -603,9 +603,9 @@ sub init {
...
@@ -603,9 +603,9 @@ sub init {
if
(
Param
(
"insidergroup"
)
&&
!&::
UserInGroup
(
Param
(
"insidergroup"
)))
{
if
(
Param
(
"insidergroup"
)
&&
!&::
UserInGroup
(
Param
(
"insidergroup"
)))
{
$extra
=
"AND $table.isprivate < 1"
;
$extra
=
"AND $table.isprivate < 1"
;
}
}
push
(
@supptables
,
"LEFT JOIN longdescs $table
push
(
@supptables
,
"LEFT JOIN longdescs $table
"
ON $table.bug_id = bugs.bug_id $extra
.
"ON $table.bug_id = bugs.bug_id $extra "
AND $table.who IN ($match)"
);
.
"
AND $table.who IN ($match)"
);
$term
=
"$table.who IS NOT NULL"
;
$term
=
"$table.who IS NOT NULL"
;
},
},
"^commenter,"
=>
sub
{
"^commenter,"
=>
sub
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment