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

MDEV-11461 JSON_TYPE does not recognize integer/double types.

Integer/Double recognition added.
This commit is contained in:
Alexey Botchkov
2016-12-05 01:01:09 +04:00
parent 5454500562
commit 78dc7c3a6e
5 changed files with 33 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ select json_type('{"k1":123, "k2":345}');
select json_type('[123, "k2", 345]');
select json_type("true");
select json_type('123');
select json_type('123.12');
select json_keys('{"a":{"c":1, "d":2}, "b":2}');
select json_keys('{"a":{"c":1, "d":2}, "b":2}', "$.a");