summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-12-06 00:34:25 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-12-06 00:34:25 +0400
commit3743b4c3ef64223bd2e35874d9ab22f46bcf504d (patch)
treec8360bbe499878dfd66f2c27cec726ff1a841726 /mysql-test/r
parent0009f4a441da6ec98fdc55c6a14ce007edf7cfdb (diff)
downloadmariadb-git-3743b4c3ef64223bd2e35874d9ab22f46bcf504d.tar.gz
MDEV-11468 JSON_UNQUOTE returns incorrect results.
Now return the argument's value when error.
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/func_json.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/func_json.result b/mysql-test/r/func_json.result
index 36430973fe7..df34e5b80bc 100644
--- a/mysql-test/r/func_json.result
+++ b/mysql-test/r/func_json.result
@@ -277,6 +277,9 @@ drop table t1;
select json_unquote('"abc"');
json_unquote('"abc"')
abc
+select json_unquote('abc');
+json_unquote('abc')
+abc
select json_object("a", json_object("b", "abcd"));
json_object("a", json_object("b", "abcd"))
{"a": {"b": "abcd"}}