1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

For coding convenuence cs->mbmaxlen is now 1 for 8bit charsets

This commit is contained in:
unknown
2002-11-11 13:10:39 +04:00
parent 446a5b0ad5
commit f4ba3d9058
10 changed files with 34 additions and 33 deletions

View File

@ -389,6 +389,7 @@ static CHARSET_INFO *add_charset(CHARSET_INFO *cs, myf flags)
cs->hash_caseup = my_hash_caseup_simple;
cs->hash_sort = my_hash_sort_simple;
cs->snprintf = my_snprintf_8bit;
cs->mbmaxlen = 1;
set_max_sort_char(cs);
create_fromuni(cs);