-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.2
-
Fix Version/s: 10.2.4
-
Component/s: JSON
-
Labels:
I am not sure where to refer what "json merge" means formally, but looking in several places makes me think that current 10.2 behavior is incorrect :
MariaDB [test]> select json_merge('{"a":"b"}', '{"a":"c"}') ; |
| {"a":"b", "a":"c"} | |
While both http://tools.knowledgewalls.com/onlinejsonmerger and MySQL 5.7 show:
mysql > select json_merge('{"a":"b"}', '{"a":"c"}') ; |
| {"a": ["b", "c"]} | |