Closed
Bug 225075
Opened 22 years ago
Closed 22 years ago
Case-sensitive summary matching does not work
Categories
(Bugzilla :: Query/Bug List, defect, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bzbarsky, Assigned: bugreport)
Details
(Keywords: regression)
Attachments
(1 file)
|
635 bytes,
patch
|
bbaetz
:
review+
|
Details | Diff | Splinter Review |
BUILD: Whatever mozilla.org has right now
STEPS TO REPRODUCE:
1) Load http://bugzilla.mozilla.org/query.cgi
2) Type "HEAD" in the "summary" search field
3) Select "contains the string (exact case)" for the search type
4) Click "Search"
ACTUAL RESULTS: 460 bugs found, with summaries like "Redesign of header handling"
EXPECTED RESULTS: 2 or 3 bugs found, all with the string "HEAD" in the summary
I _think_ this was working a few weeks ago, so I wonder what changes have been
made to the bugzilla install since then...
| Assignee | ||
Comment 1•22 years ago
|
||
This problem exists in the tip (2.17.6)+
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.18
Version: unspecified → 2.17.6
| Assignee | ||
Comment 2•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #139341 -
Flags: review?(bbaetz)
Comment 3•22 years ago
|
||
Comment on attachment 139341 [details] [diff] [review]
Case Sensitivity fix
Bleh. r=bbaetz
Attachment #139341 -
Flags: review?(bbaetz) → review+
Comment 4•22 years ago
|
||
heh, this ain't in the least bit portable... but I guess we haven't crossed
that bridge yet.
Flags: approval+
OS: Linux → All
Hardware: PC → All
Updated•22 years ago
|
Assignee: justdave → bugreport
Updated•22 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•22 years ago
|
||
Checking in Bugzilla/Search.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Search.pm,v <-- Search.pm
new revision: 1.49; previous revision: 1.48
done
Interestingly, the case-insensitive search converts everything to lower case. I
that necessary? Does it prevent the effective use of indices?
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 6•22 years ago
|
||
You can't really ue indexes on a substring search. The lower is needed for
SQL-standard databases.
Comment 7•21 years ago
|
||
FYI: this patch uses MySQL functions that were introduced in version 4.0.2 and
breaks compatibility with MySQL 3.23.x.
We have two choices:
1) back this out, or
2) bump the minimum MySQL requirement to 4.0.2
| Reporter | ||
Comment 8•21 years ago
|
||
If you back this out, please either don't do so on bugzilla.mozilla.org or also
revert whatever change originally caused this bug. Searching bugzilla was
basically unusable while this bug existed since you'd have to try all the
arbitrary possible capitalizations people use...
Comment 9•21 years ago
|
||
bug 243351 has been filed to follow this up.
Comment 10•21 years ago
|
||
(In reply to comment #8)
> Searching bugzilla was
> basically unusable while this bug existed since you'd have to try all the
> arbitrary possible capitalizations people use...
uhh, actually, it was the opposite problem. the "case-sensitive" search was
ignoring case, so you'd still get all the matches anyway.
| Reporter | ||
Comment 11•21 years ago
|
||
er... never mind then. I must have been thinking of a different bug....
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•