1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-19487 fix for --view

followup for d7df63e1c9
This commit is contained in:
Sergei Golubchik
2024-05-05 17:02:09 +02:00
parent 03295f0c20
commit d74fee9e8c
2 changed files with 3 additions and 3 deletions

View File

@ -1137,7 +1137,7 @@ DROP TABLE t;
--echo # MDEV-19487: JSON_TYPE doesnt detect the type of String Values (returns NULL) and for Date/DateTime returns "INTEGER"
--echo #
SELECT JSON_TYPE(json_value(JSON_OBJECT("id", 1, "name", 'Monty', "date", Cast('2019-01-01' as Date) ), '$.date'));
SELECT JSON_TYPE(json_value(JSON_OBJECT("id", 1, "name", 'Monty', "date", Cast('2019-01-01' as Date) ), '$.date')) as x;
--echo #