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
6ebbe174
Commit
6ebbe174
authored
Jul 01, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 442848: [Oracle] Remove hardcoded "ORDER BY quipid" in Bugzilla::DB::Oracle
Patch By Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent
42019e83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Oracle.pm
Bugzilla/DB/Oracle.pm
+2
-2
No files found.
Bugzilla/DB/Oracle.pm
View file @
6ebbe174
...
...
@@ -319,8 +319,8 @@ sub adjust_statement {
if
(
$new_sql
=~
/(.*\s+)FROM(\s+.*)/i
)
{
my
(
$before_from
,
$after_from
)
=
(
$1
,
$2
);
$before_where
=
"$before_from FROM ($before_from,"
.
" ROW_NUMBER() OVER (ORDER BY quipid
) R "
.
" FROM $after_from ) "
;
.
" ROW_NUMBER() OVER (ORDER BY 1
) R "
.
" FROM $after_from ) "
;
$after_where
=
" R BETWEEN $offset+1 AND $limit+$offset"
;
}
}
else
{
...
...
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