1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-11468 JSON_UNQUOTE returns incorrect results.

Now return the argument's value when error.
This commit is contained in:
Alexey Botchkov
2016-12-06 00:34:25 +04:00
parent 0009f4a441
commit 3743b4c3ef
3 changed files with 6 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ drop table t1;
select json_unquote('"abc"');
select json_unquote('abc');
select json_object("a", json_object("b", "abcd"));
select json_object("a", '{"b": "abcd"}');