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
1f2dc1d0
Commit
1f2dc1d0
authored
Dec 13, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 505826: Allow boolean searches on the Comment field in Oracle.
Patch by Xiaoou Wu <xiaoou.wu@oracle.com> r=mkanat, a=mkanat
parent
6b3943de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Oracle.pm
Bugzilla/DB/Oracle.pm
+4
-0
No files found.
Bugzilla/DB/Oracle.pm
View file @
1f2dc1d0
...
...
@@ -347,6 +347,10 @@ sub adjust_statement {
# Oracle need no 'AS'
$nonstring
=~
s/\bAS\b//ig
;
# Take the first 4000 chars for comparison
$nonstring
=~
s/\(\s*(longdescs_\d+\.thetext|attachdata_\d+\.thedata)/
\(DBMS_LOB.SUBSTR\($1, 4000, 1\)/ig
;
# Look for a LIMIT clause
(
$limit
)
=
(
$nonstring
=~
m(/\* LIMIT (\d*)
\*/
)
o
);
...
...
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