Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
None
Description
In MySQL 5.7:
SELECT JSON_SET('{}', '$.age', 87);
|
+-----------------------------+
|
| JSON_SET('{}', '$.age', 87) |
|
+-----------------------------+
|
| {"age": 87} |
|
+-----------------------------+
|
In MariaDB 10.2:
SELECT JSON_SET('{}', '$.age', 87);
|
+-----------------------------+
|
| JSON_SET('{}', '$.age', 87) |
|
+-----------------------------+
|
| NULL |
|
+-----------------------------+
|
Attachments
Issue Links
- duplicates
-
MDEV-13324 JSON_SET returns NULL instead of object
- Closed