Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.0(EOL), 10.1(EOL), 10.3(EOL), 10.4(EOL), 10.5(EOL), 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 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
-