mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-27009 Add UCA-14.0.0 collations - adding version aware implicit weight handling
Implicit weights are now handled according to the Unicode version (14.0.0 vs earlier versions). - Adding a new member MY_UCA_INFO::version - Copy logical positions and the version from "src_uca" to "new_uca" in init_weight_level(). - Adding a "const MY_UCA_INFO *" parameter to a few functions to know Unicode version to generate implicit weights accordingly: - during the collation initialization time, to pages which are a mixture of explicit and implicit weights - during comparison time, for fully implicit pages
This commit is contained in:
committed by
Oleksandr Byelkin
parent
d7ffb7c3dd
commit
6bc10f8026
@@ -168,6 +168,9 @@ typedef struct uca_info_st
|
||||
my_wc_t first_variable;
|
||||
my_wc_t last_variable;
|
||||
|
||||
/* Unicode version */
|
||||
uint version;
|
||||
|
||||
} MY_UCA_INFO;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user