diff options
author | unknown <bar@bar.mysql.r18.ru> | 2002-11-11 13:10:39 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2002-11-11 13:10:39 +0400 |
commit | f4ba3d90584ba8debfbd00c651499f027726b30c (patch) | |
tree | 278a88dd41be5b8cd9fb7e791176895653d8aadc /strings | |
parent | 446a5b0ad584bca06a83f96acc15a2e085d93f75 (diff) | |
download | mariadb-git-f4ba3d90584ba8debfbd00c651499f027726b30c.tar.gz |
For coding convenuence cs->mbmaxlen is now 1 for 8bit charsets
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-bin.c | 2 | ||||
-rw-r--r-- | strings/ctype-czech.c | 2 | ||||
-rw-r--r-- | strings/ctype-latin1_de.c | 2 | ||||
-rw-r--r-- | strings/ctype-tis620.c | 2 | ||||
-rw-r--r-- | strings/ctype-win1250ch.c | 2 | ||||
-rw-r--r-- | strings/ctype.c | 46 |
6 files changed, 28 insertions, 28 deletions
diff --git a/strings/ctype-bin.c b/strings/ctype-bin.c index e479053071b..9a22b3f36bf 100644 --- a/strings/ctype-bin.c +++ b/strings/ctype-bin.c @@ -162,7 +162,7 @@ static CHARSET_INFO my_charset_bin_st = my_strnncoll_binary, /* strnncoll */ NULL, /* strxnfrm */ NULL, /* like_rabge */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ diff --git a/strings/ctype-czech.c b/strings/ctype-czech.c index 6ce2bf13fce..3ec4491001d 100644 --- a/strings/ctype-czech.c +++ b/strings/ctype-czech.c @@ -610,7 +610,7 @@ CHARSET_INFO my_charset_czech = my_strnncoll_czech, my_strnxfrm_czech, my_like_range_czech, - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ diff --git a/strings/ctype-latin1_de.c b/strings/ctype-latin1_de.c index 574fbf41da3..d829296fd78 100644 --- a/strings/ctype-latin1_de.c +++ b/strings/ctype-latin1_de.c @@ -428,7 +428,7 @@ CHARSET_INFO my_charset_latin1_de = my_strnncoll_latin1_de, my_strnxfrm_latin1_de, my_like_range_latin1_de, - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ diff --git a/strings/ctype-tis620.c b/strings/ctype-tis620.c index de1a0e170fb..44d0dde65f5 100644 --- a/strings/ctype-tis620.c +++ b/strings/ctype-tis620.c @@ -702,7 +702,7 @@ CHARSET_INFO my_charset_tis620 = my_strnncoll_tis620, my_strnxfrm_tis620, my_like_range_tis620, - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ diff --git a/strings/ctype-win1250ch.c b/strings/ctype-win1250ch.c index 64697ce08f3..9c418e2e6f5 100644 --- a/strings/ctype-win1250ch.c +++ b/strings/ctype-win1250ch.c @@ -636,7 +636,7 @@ CHARSET_INFO my_charset_win1250ch = my_strnncoll_win1250ch, my_strnxfrm_win1250ch, my_like_range_win1250ch, - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ diff --git a/strings/ctype.c b/strings/ctype.c index 8fc189f4b7f..96003f8baab 100644 --- a/strings/ctype.c +++ b/strings/ctype.c @@ -2823,7 +2823,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -2860,7 +2860,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -2896,7 +2896,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -2932,7 +2932,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -2969,7 +2969,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3005,7 +3005,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3041,7 +3041,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3077,7 +3077,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3114,7 +3114,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3150,7 +3150,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3186,7 +3186,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3222,7 +3222,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3258,7 +3258,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3294,7 +3294,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3330,7 +3330,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3367,7 +3367,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3403,7 +3403,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3440,7 +3440,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3477,7 +3477,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3513,7 +3513,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3549,7 +3549,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3585,7 +3585,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ @@ -3621,7 +3621,7 @@ static CHARSET_INFO compiled_charsets[] = { my_strnncoll_simple,/* strnncoll */ NULL, /* strnxfrm */ NULL, /* like_range */ - 0, /* mbmaxlen */ + 1, /* mbmaxlen */ NULL, /* ismbchar */ NULL, /* ismbhead */ NULL, /* mbcharlen */ |