Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 13.1
Description
Reproduced on 10.11.19 (debug build):
CREATE TABLE t (b VARBINARY(60)); |
INSERT INTO t VALUES ('{"é":1}'); |
|
|
SELECT JSON_EXTRACT(b, '$.é'), JSON_EXISTS(b, '$.é') FROM t; -- 1, 0 |
JSON_EXTRACT reads the value while JSON_EXISTS denies that the path exists. Expected: both agree. In an utf8mb4 column with the same document, JSON_EXTRACT also returns 1.
Attachments
Issue Links
- relates to
-
MDEV-41889 In ucs2/utf16/utf32 documents, JSON_EXTRACT and JSON_CONTAINS_PATH do not find paths that JSON_VALUE finds
-
- Closed
-