From: bugreport%peshkin.net <> Date: Wed, 21 Jan 2004 22:01:08 +0000 (+0000) Subject: Bug 225075: Fix exact case search so it only selects bugs with matching case strings. X-Git-Tag: bugzilla-2.17.7~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f84b30361bdbd95fe64f1af7e8459bcc0d1eb2;p=thirdparty%2Fbugzilla.git Bug 225075: Fix exact case search so it only selects bugs with matching case strings. r=bbaetz, a=justdave --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 73774e82bf..cf42e073fb 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) . ")";