More use of new CHARSET_INFO functions and two bug fixes

This commit is contained in:
bar@bar.mysql.r18.ru 2003-01-31 17:08:14 +04:00
commit 4f62ac93f0
3 changed files with 7 additions and 42 deletions

View file

@ -289,12 +289,10 @@ uint my_numchars_mb(CHARSET_INFO *cs __attribute__((unused)),
}
uint my_charpos_mb(CHARSET_INFO *cs __attribute__((unused)),
const char *b __attribute__((unused)),
const char *e __attribute__((unused)),
uint pos)
const char *b, const char *e, uint pos)
{
uint res=0, mblen;
const char *b0;
uint mblen;
const char *b0=b;
while (pos && b<e)
{