From 41be22cdae251182a39b3b504bcab09001ff0718 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Wed, 21 Jan 2004 14:01:08 +0000 Subject: [PATCH] Bug 225075: Fix exact case search so it only selects bugs with matching case strings. r=bbaetz, a=justdave git-svn-id: svn://10.0.0.236/trunk@151638 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index 73774e82bf7..cf42e073fb0 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/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) . ")";