mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-11777 REGEXP_REPLACE converts utf8mb4 supplementary characters to '?'
use utf8mb4 with PCRE2, not utf8mb3
This commit is contained in:
@ -470,3 +470,11 @@ SELECT REGEXP_INSTR('a_kollision', 'o([lm])\\1');
|
||||
#
|
||||
SELECT a FROM (SELECT "aa" a) t WHERE a REGEXP '[0-9]';
|
||||
--enable_service_connection
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-11777 REGEXP_REPLACE converts utf8mb4 supplementary characters to '?'
|
||||
--echo #
|
||||
select hex(regexp_replace(cast(x'F09F9881' as char character set 'utf8mb4'), _utf8mb4'a', _utf8mb4'b')) as Text;
|
||||
--echo #
|
||||
--echo # End of 10.6 tests
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user