summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-01-21 23:01:08 +0100
committerbugreport%peshkin.net <>2004-01-21 23:01:08 +0100
commitb4f84b30361bdbd95fe64f1af7e8459bcc0d1eb2 (patch)
tree7c9889b76f2a1cdc0a20f86bcdbe6c61be4f57d5
parent08c4a8aa76e43568ca6809dc6fa1fc1cd1911ed5 (diff)
downloadbugzilla-b4f84b30361bdbd95fe64f1af7e8459bcc0d1eb2.tar.gz
bugzilla-b4f84b30361bdbd95fe64f1af7e8459bcc0d1eb2.tar.xz
Bug 225075: Fix exact case search so it only selects bugs with matching case strings.
r=bbaetz, a=justdave
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 73774e82b..cf42e073f 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -674,7 +674,7 @@ sub init {
$term = "$ff != $q";
},
",casesubstring" => sub {
- $term = "INSTR($ff, $q)";
+ $term = "INSTR(CAST($ff AS BINARY), CAST($q AS BINARY))";
},
",substring" => sub {
$term = "INSTR(LOWER($ff), " . lc($q) . ")";