Fixed that multibyte charsets didn't honor multibyte

sequence boundaries in functions LIKE and LOCATE in
the case of "binary" collation. Comparison was done
like if the strings were just a binary strings without
character set assumption.
This commit is contained in:
unknown 2003-09-19 15:18:19 +05:00
commit 44bffa0b05
21 changed files with 437 additions and 66 deletions

View file

@ -119,7 +119,7 @@ static void simple_cs_init_functions(CHARSET_INFO *cs)
if (cs->state & MY_CS_BINSORT)
{
cs->coll= &my_collation_bin_handler;
cs->coll= &my_collation_8bit_bin_handler;
}
else
{