• Alexander Barkov's avatar
    MDEV-27009 Add UCA-14.0.0 collations · 13344682
    Alexander Barkov authored
    - Added one neutral and 22 tailored (language specific) collations based on
      Unicode Collation Algorithm version 14.0.0.
    
      Collations were added for Unicode character sets
      utf8mb3, utf8mb4, ucs2, utf16, utf32.
    
      Every tailoring was added with four accent and case
      sensitivity flag combinations, e.g:
    
      * utf8mb4_uca1400_swedish_as_cs
      * utf8mb4_uca1400_swedish_as_ci
      * utf8mb4_uca1400_swedish_ai_cs
      * utf8mb4_uca1400_swedish_ai_ci
    
      and their _nopad_ variants:
    
      * utf8mb4_uca1400_swedish_nopad_as_cs
      * utf8mb4_uca1400_swedish_nopad_as_ci
      * utf8mb4_uca1400_swedish_nopad_ai_cs
      * utf8mb4_uca1400_swedish_nopad_ai_ci
    
    - Introducing a conception of contextually typed named collations:
    
      CREATE DATABASE db1 CHARACTER SET utf8mb4;
      CREATE TABLE db1.t1 (a CHAR(10) COLLATE uca1400_as_ci);
    
      The idea is that there is no a need to specify the character set prefix
      in the new collation names. It's enough to type just the suffix
      "uca1400_as_ci". The character s...
    13344682
events.cc 38.6 KB