Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
This task is a continuation for MDEV-30695.
The intent is to remove joined tables storing casefolding+weight data using these C data types:
typedef struct unicase_info_char_st |
{
|
uint32 toupper; |
uint32 tolower; |
uint32 sort;
|
} MY_UNICASE_CHARACTER;
|
|
struct unicase_info_st |
{
|
my_wc_t maxchar;
|
MY_UNICASE_CHARACTER **page;
|
};
|
and replace them to separate casefolding tables:
typedef struct casefold_info_char_t |
{
|
uint32 toupper; |
uint32 tolower; |
} MY_CASEFOLD_CHARACTER;
|
|
struct casefold_info_st |
{
|
my_wc_t maxchar;
|
MY_CASEFOLD_CHARACTER **page;
|
};
|
and separate weight tables:
const uint16 * const *simple_weight; /* For general_ci-alike collations */ |
The intent for this refactoring is explained in MDEV-30695.
Attachments
Issue Links
- blocks
-
MDEV-30577 Case folding for uca1400 collations is not up to date
- Closed