summaryrefslogtreecommitdiff
path: root/mysys/test_charset.c
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-11-11 13:10:39 +0400
committerunknown <bar@bar.mysql.r18.ru>2002-11-11 13:10:39 +0400
commitf4ba3d90584ba8debfbd00c651499f027726b30c (patch)
tree278a88dd41be5b8cd9fb7e791176895653d8aadc /mysys/test_charset.c
parent446a5b0ad584bca06a83f96acc15a2e085d93f75 (diff)
downloadmariadb-git-f4ba3d90584ba8debfbd00c651499f027726b30c.tar.gz
For coding convenuence cs->mbmaxlen is now 1 for 8bit charsets
Diffstat (limited to 'mysys/test_charset.c')
-rw-r--r--mysys/test_charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/test_charset.c b/mysys/test_charset.c
index 47ed9062c05..d031007a1da 100644
--- a/mysys/test_charset.c
+++ b/mysys/test_charset.c
@@ -46,7 +46,7 @@ static void _print_csinfo(CHARSET_INFO *cs)
cs->strnxfrm,
cs->like_range);
printf("multi-byte: %3s (%d, %p, %p, %p)\n",
- cs->mbmaxlen ? "yes" : "no",
+ cs->mbmaxlen > 1 ? "yes" : "no",
cs->mbmaxlen,
cs->ismbchar,
cs->ismbhead,