mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
Allocate memory when a character set is requested:
- For simple character sets: from_uni convertion table. - For UCA: alternative weight arrays. Use mbminlen instead of MY_CS_NONTEXT
This commit is contained in:
parent
4047b5ade3
commit
5275eb21c2
22 changed files with 608 additions and 560 deletions
|
|
@ -906,6 +906,7 @@ int my_wc_mb_tis620(CHARSET_INFO *cs __attribute__((unused)),
|
|||
|
||||
static MY_COLLATION_HANDLER my_collation_ci_handler =
|
||||
{
|
||||
NULL, /* init */
|
||||
my_strnncoll_tis620,
|
||||
my_strnncollsp_tis620,
|
||||
my_strnxfrm_tis620,
|
||||
|
|
@ -918,6 +919,7 @@ static MY_COLLATION_HANDLER my_collation_ci_handler =
|
|||
|
||||
static MY_CHARSET_HANDLER my_charset_handler=
|
||||
{
|
||||
NULL, /* init */
|
||||
NULL, /* ismbchar */
|
||||
my_mbcharlen_8bit, /* mbcharlen */
|
||||
my_numchars_8bit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue