[MDEV-23890] JSON_ARRAY utf8mb4 encoding error Created: 2020-10-05  Updated: 2020-10-14

Status: Open
Project: MariaDB Server
Component/s: JSON
Affects Version/s: 10.5.5
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Marcelo Titonelli Pio da Cruz Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Probably any OS


Attachments: PNG File encoding tests.png     File utferror.sql    
Issue Links:
Relates
relates to MDEV-13633 JSON_ARRAY() - bad output with some U... Closed

 Description   

If an utf8mb4 character, like an emoticon is proceed by a bit field, in a JSON_ARRAY, it gets corrupted.

online test: https://dbfiddle.uk/?rdbms=mariadb_10.5&fiddle=6f6adfdab90cbb3760b6538fceea38f8


Generated at Thu Feb 08 09:25:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.