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
ec22b114
Commit
ec22b114
authored
Jun 22, 2004
by
jocuri%softhome.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch for bug 247772: Improve SQL capitalization in collectstats; r=joel; a=justdave.
parent
8381f577
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
collectstats.pl
collectstats.pl
+4
-4
No files found.
collectstats.pl
View file @
ec22b114
...
...
@@ -139,9 +139,9 @@ sub collect_stats {
foreach
my
$status
(
'NEW'
,
'ASSIGNED'
,
'REOPENED'
,
'UNCONFIRMED'
,
'RESOLVED'
,
'VERIFIED'
,
'CLOSED'
)
{
if
(
$product
eq
"-All-"
)
{
SendSQL
(
"
select count(bug_status) from bugs where
bug_status='$status'"
);
SendSQL
(
"
SELECT COUNT(bug_status) FROM bugs WHERE
bug_status='$status'"
);
}
else
{
SendSQL
(
"
select count(bug_status) from bugs where bug_status='$status' and
product_id=$product_id"
);
SendSQL
(
"
SELECT COUNT(bug_status) FROM bugs WHERE bug_status='$status' AND
product_id=$product_id"
);
}
push
@row
,
FetchOneColumn
();
...
...
@@ -149,9 +149,9 @@ sub collect_stats {
foreach
my
$resolution
(
'FIXED'
,
'INVALID'
,
'WONTFIX'
,
'LATER'
,
'REMIND'
,
'DUPLICATE'
,
'WORKSFORME'
,
'MOVED'
)
{
if
(
$product
eq
"-All-"
)
{
SendSQL
(
"
select count(resolution) from bugs where
resolution='$resolution'"
);
SendSQL
(
"
SELECT COUNT(resolution) FROM bugs WHERE
resolution='$resolution'"
);
}
else
{
SendSQL
(
"
select count(resolution) from bugs where resolution='$resolution' and
product_id=$product_id"
);
SendSQL
(
"
SELECT COUNT(resolution) FROM bugs WHERE resolution='$resolution' AND
product_id=$product_id"
);
}
push
@row
,
FetchOneColumn
();
...
...
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