From 0cd731864e6e4d88b75bfea4f02454871aedb89e Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Tue, 12 Sep 2017 15:21:53 +0400 Subject: MDEV-13104 Json functions. An extra ',' added to the JSON_MERGE result making it invalid. --- mysql-test/r/func_json.result | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mysql-test/r/func_json.result') diff --git a/mysql-test/r/func_json.result b/mysql-test/r/func_json.result index 80de41ccb07..fc4eb16a067 100644 --- a/mysql-test/r/func_json.result +++ b/mysql-test/r/func_json.result @@ -683,3 +683,6 @@ JSON_OBJECT("foo", "bar`bar") SELECT JSON_SET('{}', '$.age', 87); JSON_SET('{}', '$.age', 87) {"age": 87} +SELECT JSON_MERGE('[]', '{"c":"d"}'); +JSON_MERGE('[]', '{"c":"d"}') +[{"c": "d"}] -- cgit v1.2.1