Details
-
Bug
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2, 13.1.1
-
None
-
Q4/2026 Server Development
Description
Test:
SELECT JSON_SET(_latin1'{}', '$.x', _utf8mb4 0xF09F9880);
|
JSON_SET(_latin1'{}', '$.x', _utf8mb4 0xF09F9880)
|
NULL
|
Warnings:
|
Warning 4038 Syntax error in JSON text in argument 1 to function 'json_set' at position 12
|
If we comment out json_nice:
SELECT JSON_SET(_latin1'{}', '$.x', _utf8mb4 0xF09F9880);
|
JSON_SET(_latin1'{}', '$.x', _utf8mb4 0xF09F9880)
|
{"x":"\uD83DDE00"}
|
Note "\uD83DDE00" whereas expected value is "\uD83D\uDE00".
Attachments
Issue Links
- duplicates
-
MDEV-40769 A character outside the first Unicode plane is written as one escape carrying both UTF-16 units, so the document a JSON function produces is not JSON and the server rejects its own output
-
- Open
-