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:
unknown 2003-01-31 17:08:14 +04:00
commit f845e66b3f
3 changed files with 7 additions and 42 deletions

View file

@ -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 =