]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 225075: Fix exact case search so it only selects bugs with matching case strings.
authorbugreport%peshkin.net <>
Wed, 21 Jan 2004 22:01:08 +0000 (22:01 +0000)
committerbugreport%peshkin.net <>
Wed, 21 Jan 2004 22:01:08 +0000 (22:01 +0000)
r=bbaetz, a=justdave

Bugzilla/Search.pm

index 73774e82bf743c02c02a08e0d912cb4d4a4665b3..cf42e073fb097f14adda0ab0c3f5a85b81e766be 100644 (file)
@@ -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) . ")";