1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-11438 Assertion `null_value' failed in Item::send(Protocol*, String*) upon casting NULL as JSON.

test added.
This commit is contained in:
Alexey Botchkov
2016-12-04 13:57:46 +04:00
parent f105014e9b
commit f391ab4f01
2 changed files with 4 additions and 0 deletions

View File

@@ -108,5 +108,6 @@ select json_object("a", json_object("b", "abcd"));
select json_object("a", '{"b": "abcd"}');
select json_object("a", cast('{"b": "abcd"}' as json));
select cast(NULL AS JSON);
select json_depth(cast(NULL as JSON));