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
25de3add
Commit
25de3add
authored
Dec 12, 2007
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 375007: [Oracle] Some CGIs use SQL names in their "AS" clauses that don't work in Oracle
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent
9e83ca09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Attachment.pm
Bugzilla/Attachment.pm
+2
-2
BugMail.pm
Bugzilla/BugMail.pm
+2
-2
No files found.
Bugzilla/Attachment.pm
View file @
25de3add
...
...
@@ -88,7 +88,7 @@ sub _retrieve {
'attachments.bug_id AS bug_id'
,
'attachments.description AS description'
,
'attachments.mimetype AS contenttype'
,
'attachments.submitter_id AS
_
attacher_id'
,
'attachments.submitter_id AS attacher_id'
,
Bugzilla
->
dbh
->
sql_date_format
(
'attachments.creation_ts'
,
'%Y.%m.%d %H:%i'
)
.
" AS attached"
,
'attachments.modification_time'
,
...
...
@@ -188,7 +188,7 @@ the user who attached the attachment
sub
attacher
{
my
$self
=
shift
;
return
$self
->
{
attacher
}
if
exists
$self
->
{
attacher
};
$self
->
{
attacher
}
=
new
Bugzilla::
User
(
$self
->
{
_
attacher_id
});
$self
->
{
attacher
}
=
new
Bugzilla::
User
(
$self
->
{
attacher_id
});
return
$self
->
{
attacher
};
}
...
...
Bugzilla/BugMail.pm
View file @
25de3add
...
...
@@ -113,7 +113,7 @@ sub Send {
my
%
values
=
%
{
$dbh
->
selectrow_hashref
(
'SELECT '
.
join
(
','
,
editable_bug_fields
())
.
', reporter,
lastdiffed AS start
, LOCALTIMESTAMP(0) AS end
lastdiffed AS start
_time, LOCALTIMESTAMP(0) AS end_time
FROM bugs WHERE bug_id = ?'
,
undef
,
$id
)};
...
...
@@ -123,7 +123,7 @@ sub Send {
my
$component
=
new
Bugzilla::
Component
(
$values
{
component_id
});
$values
{
component
}
=
$component
->
name
;
my
(
$start
,
$end
)
=
(
$values
{
start
},
$values
{
end
});
my
(
$start
,
$end
)
=
(
$values
{
start
_time
},
$values
{
end_time
});
# User IDs of people in various roles. More than one person can 'have' a
# role, if the person in that role has changed, or people are watching.
...
...
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