Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL)
-
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
- is duplicated by
-
MDEV-13323 json_set returns NULL instead of object
- Closed