List:General Discussion« Previous MessageNext Message »
From:Khimenko Victor Date:September 16 1999 8:15am
Subject:MySQL 3.23.3, russian characters and LIKE
View as plain text  
LIKE does not work with russian characters in MySQL 3.23.3 :-/ Here is the fix.
Problem is in comparision `likeconv(*str) != cmp' on line 583...

I'm not sure if it's correct fix but at least I can use LIKE now :-)

--- sql/sql_string.cc
+++ sql/sql_string.cc
@@ -518,7 +518,7 @@
       if (str == str_end)
 	return result;
 
-      char cmp;
+      uchar cmp;
       if ((cmp= *wildstr) == escape && wildstr+1 != wildend)
 	cmp= *++wildstr;
 #ifdef USE_BIG5CODE

Thread
MySQL 3.23.3, russian characters and LIKEKhimenko Victor16 Sep
  • MySQL 3.23.3, russian characters and LIKEMichael Widenius17 Sep
    • Re: MySQL 3.23.3, russian characters and LIKEKhimenko Victor17 Sep