mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-25829 Change default Unicode collation to uca1400_ai_ci
Step#3 The main patch
This commit is contained in:
@ -43,7 +43,8 @@ INSERT INTO t2 VALUES ('\\p{Han}'),('\\p{Hangul}');
|
||||
INSERT INTO t2 VALUES ('\\p{Sinhala}'), ('\\p{Tamil}');
|
||||
INSERT INTO t2 VALUES ('\\p{L}'),('\\p{Ll}'),('\\p{Lu}'),('\\p{L&}');
|
||||
INSERT INTO t2 VALUES ('[[:alpha:]]'),('[[:digit:]]');
|
||||
SELECT class, ch, ch RLIKE class FROM t1, t2 ORDER BY class, BINARY ch;
|
||||
# Use "ORDER BY BINARY" to avoid dependency on the default utf8 collation
|
||||
SELECT class, ch, ch RLIKE class FROM t1, t2 ORDER BY BINARY class, BINARY ch;
|
||||
DROP TABLE t1, t2;
|
||||
|
||||
# Checking that UCP is disabled by default for binary data
|
||||
|
Reference in New Issue
Block a user