1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-26796 Natural sort does not work for utf32/utf16/ucs2

Fixed typo, added test.
This commit is contained in:
Vladislav Vaintroub
2021-10-11 09:27:38 +02:00
parent 5b5a67b2a9
commit bc09362eb3
3 changed files with 6 additions and 1 deletions

View File

@ -203,3 +203,6 @@ NULL NULL
a2 a02
a11 a111
drop table t;
select natural_sort_key(_utf16 0x0031),natural_sort_key(_ucs2 0x0031), natural_sort_key(_utf32 0x00000031);
natural_sort_key(_utf16 0x0031) natural_sort_key(_ucs2 0x0031) natural_sort_key(_utf32 0x00000031)
01 01 01