Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2.12, 10.2(EOL), 10.3(EOL)
-
None
-
CentOS 7 (64bit)
Description
Issue
SELECT JSON_MERGE('[1]', '[]'); |
+-------------------------+ |
| JSON_MERGE('[1]', '[]') | |
+-------------------------+ |
| NULL | |
+-------------------------+ |
1 row in set, 1 warning (0.00 sec) |
 |
SHOW WARNINGS;
|
+---------+------+--------------------------------------------------------------------------------+ |
| Level | Code | Message | |
+---------+------+--------------------------------------------------------------------------------+ |
| Warning | 4038 | Syntax error in JSON text in argument 1 to function 'json_merge' at position 5 | |
+---------+------+--------------------------------------------------------------------------------+ |
Expected Result
SELECT JSON_MERGE('[1]', '[]'); |
+-------------------------+ |
| JSON_MERGE('[1]', '[]') | |
+-------------------------+ |
| [1] |
|
+-------------------------+ |
Attachments
Issue Links
- relates to
-
MDEV-17121 JSON_ARRAY_APPEND
- Closed