mirror of
https://github.com/MariaDB/server.git
synced 2025-09-11 05:52:26 +03:00
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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user