diff options
author | serg@serg.mylan <> | 2003-12-06 19:05:26 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2003-12-06 19:05:26 +0100 |
commit | b2e6b36487d6c0e1660263e50f7ad1d15b6ef02a (patch) | |
tree | f9c88e2f87875a8d63da6a70bd2a56b9dca57fe4 /mysys | |
parent | cbcb863ca5475cf0fcce4fd1f6fe59dfac1f9daf (diff) | |
download | mariadb-git-b2e6b36487d6c0e1660263e50f7ad1d15b6ef02a.tar.gz |
fix for my_mbcharlen(charset, c) to return 1 for single-byte characters
(isn't it obvious ?)
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c index e97ac0675d6..4111dd246cb 100644 --- a/mysys/charset.c +++ b/mysys/charset.c @@ -82,7 +82,7 @@ static void init_state_maps(CHARSET_INFO *cs) else if (my_isdigit(cs,i)) state_map[i]=(uchar) MY_LEX_NUMBER_IDENT; #if defined(USE_MB) && defined(USE_MB_IDENT) - else if (use_mb(cs) && (my_mbcharlen(cs, i)>1)) + else if (my_mbcharlen(cs, i)>1) state_map[i]=(uchar) MY_LEX_IDENT; #endif else if (!my_isgraph(cs,i)) |