mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
More use of new CHARSET_INFO functions and two bug fixes
sql/sql_string.cc: More use of new CHARSET_INFO functions strings/ctype-mb.c: Bug fix strings/ctype-utf8.c: Bug fix
This commit is contained in:
parent
953e27208b
commit
f845e66b3f
3 changed files with 7 additions and 42 deletions
|
|
@ -3079,7 +3079,7 @@ uint my_charpos_ucs2(CHARSET_INFO *cs __attribute__((unused)),
|
|||
const char *e __attribute__((unused)),
|
||||
uint pos)
|
||||
{
|
||||
return pos/2;
|
||||
return pos*2;
|
||||
}
|
||||
|
||||
CHARSET_INFO my_charset_ucs2 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue