Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.0, 10.1, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
-
None
Description
add_collation calls cs_copy_data for not compiled character sets.
This calls init_state_maps, which calls my_mbcharlen, which requires the cset member to be defined.
--- a/mysys/charset.c
|
+++ b/mysys/charset.c
|
@@ -153,6 +153,8 @@ static int cs_copy_data(struct charset_info_st *to, CHARSET_INFO *from)
|
MY_CS_CTYPE_TABLE_SIZE,
|
MYF(MY_WME))))
|
goto err;
|
+ if (!to->cset)
|
+ simple_cs_init_functions(to);
|
if (init_state_maps(to))
|
goto err;
|
}
|
Attachments
Issue Links
- blocks
-
MDEV-8424 Add latin9 support
-
- Open
-