Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
-
None
-
Not for Release Notes
Description
Reproduced on 10.11.19 (debug build):
SELECT JSON_CONTAINS('{"k":"\u0041"}', '{"k":"A"}'), -- 0 |
JSON_EQUALS('"\u0041"', '"A"'), -- 0 |
JSON_OVERLAPS('["\u0041"]', '["A"]'), -- 0 |
JSON_UNQUOTE('"\u0041"'); -- A |
The same string written as an escape and written directly compare as different, although JSON_UNQUOTE on the same server decodes the escape to A. Expected: 1 / 1 / 1.
Attachments
Issue Links
- duplicates
-
MDEV-39995 JSON_CONTAINS and JSON_EQUALS do not compare string based on semantic
-
- Closed
-