summaryrefslogtreecommitdiff
path: root/strings/ctype-latin1.c
diff options
context:
space:
mode:
authorbar@mysql.com <>2004-06-11 16:29:16 +0500
committerbar@mysql.com <>2004-06-11 16:29:16 +0500
commitc64d93b27403dc9d154eb601b88d95964f9fc05b (patch)
tree72245220b637b8d5caf3b8267ea6801af59f0bc7 /strings/ctype-latin1.c
parent21c524e712875f8b66ad95c76da1d4305d0538d8 (diff)
downloadmariadb-git-c64d93b27403dc9d154eb601b88d95964f9fc05b.tar.gz
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
Diffstat (limited to 'strings/ctype-latin1.c')
-rw-r--r--strings/ctype-latin1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strings/ctype-latin1.c b/strings/ctype-latin1.c
index 03d4e71377b..86c80ff5a66 100644
--- a/strings/ctype-latin1.c
+++ b/strings/ctype-latin1.c
@@ -380,6 +380,7 @@ int my_wc_mb_latin1(CHARSET_INFO *cs __attribute__((unused)),
static MY_CHARSET_HANDLER my_charset_handler=
{
+ NULL, /* init */
NULL,
my_mbcharlen_8bit,
my_numchars_8bit,
@@ -674,6 +675,7 @@ void my_hash_sort_latin1_de(CHARSET_INFO *cs __attribute__((unused)),
static MY_COLLATION_HANDLER my_collation_german2_ci_handler=
{
+ NULL, /* init */
my_strnncoll_latin1_de,
my_strnncollsp_latin1_de,
my_strnxfrm_latin1_de,