mirror of
https://github.com/MariaDB/server.git
synced 2025-12-19 22:42:44 +03:00
An additional fix for WL#1213 4-byte UTF8
- Fixing crash on attempt to create a fulltext index with an utf8mb4 column - fixing wrong border width for supplementary characters in mysql client: mysql --default-character-set=utf8mb4 -e "select concat(_utf32 0x20000,'a')"
This commit is contained in:
@@ -1763,6 +1763,13 @@ INSERT INTO t1(subject) VALUES ('abcd');
|
||||
INSERT INTO t1(subject) VALUES(x'f0909080');
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
# Make sure fulltext does not crash on supplementary characters
|
||||
#
|
||||
CREATE TABLE t1 (a TEXT CHARACTER SET utf8mb4, FULLTEXT INDEX(a));
|
||||
INSERT INTO t1 VALUES (0xF0A08080 /* U+20000 */ );
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo #
|
||||
--echo # Bug #51676 Server crashes on SELECT, ORDER BY on 'utf8mb4' column
|
||||
--echo #
|
||||
|
||||
Reference in New Issue
Block a user