[MDEV-11445] JSON_MERGE requires at least two arguments in MySQL, but not in MariaDB Created: 2016-12-01  Updated: 2016-12-04  Resolved: 2016-12-04

Status: Closed
Project: MariaDB Server
Component/s: JSON
Affects Version/s: 10.2
Fix Version/s: 10.2.3

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: json-10.2

Issue Links:
Relates
relates to MDEV-9143 JSON_xxx functions Closed

 Description   

MySQL 5.7

MySQL [test]> SELECT JSON_MERGE('a');
ERROR 1582 (42000): Incorrect parameter count in the call to native function 'JSON_MERGE'

MariaDB 10.2

MariaDB [test]> SELECT JSON_MERGE('a');
+-----------------+
| JSON_MERGE('a') |
+-----------------+
| ["a"]           |
+-----------------+
1 row in set (0.00 sec)



 Comments   
Comment by Alexey Botchkov [ 2016-12-04 ]

http://lists.askmonty.org/pipermail/commits/2016-December/010189.html

Generated at Thu Feb 08 07:50:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.