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
02af2b2b
Commit
02af2b2b
authored
Aug 08, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 432931: [Oracle] Saved Searches that search multi-byte characters return empty results
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=xiaoou, a=mkanat
parent
0547231e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
buglist.cgi
buglist.cgi
+6
-0
No files found.
buglist.cgi
View file @
02af2b2b
...
@@ -253,6 +253,12 @@ sub LookupNamedQuery {
...
@@ -253,6 +253,12 @@ sub LookupNamedQuery {
WHERE userid = ? AND name = ?
WHERE userid = ? AND name = ?
$extra"
,
$extra"
,
undef
,
@args
);
undef
,
@args
);
# Some DBs (read: Oracle) incorrectly mark this string as UTF-8
# even though it has no UTF-8 characters in it, which prevents
# Bugzilla::CGI from later reading it correctly.
utf8::
downgrade
(
$result
)
if
utf8::
is_utf8
(
$result
);
if
(
!
defined
(
$result
))
{
if
(
!
defined
(
$result
))
{
return
0
unless
$throw_error
;
return
0
unless
$throw_error
;
ThrowUserError
(
"missing_query"
,
{
'queryname'
=>
$name
,
ThrowUserError
(
"missing_query"
,
{
'queryname'
=>
$name
,
...
...
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