summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-02-20 17:54:25 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-02-20 17:54:25 +0400
commit27521fb5ddbc18f5a320514e03fd2546ee0f1ee2 (patch)
tree55dcbb3f923c8dfdeec554154b120f5f498eab0f /mysys/charset.c
parent596dc3857a41a31c09053fe7fb5fc2a7860f9f08 (diff)
downloadmariadb-git-27521fb5ddbc18f5a320514e03fd2546ee0f1ee2.tar.gz
charset.c:
SHOW CHARACTER SET now displays "1" in mb_maxlen even if a charset is not loaded yet mysys/charset.c: SHOW CHARACTER SET now displays "1" in mb_maxlen even if a charset is not loaded yet
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index 1145a989958..1b53eac77df 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -215,6 +215,7 @@ static void simple_cs_copy_data(CHARSET_INFO *to, CHARSET_INFO *from)
MYF(MY_WME));
create_fromuni(to);
}
+ to->mbmaxlen= 1;
}