1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MDEV-13633 JSON_ARRAY() - bad output with some UTF8 characters.

set_charset() calls added for Item_func_json_arran
        and Item_func_json_object::val_str-s.
This commit is contained in:
Alexey Botchkov
2017-09-13 15:17:28 +04:00
parent a237a92099
commit dc82f70e9f
3 changed files with 14 additions and 0 deletions

View File

@ -354,3 +354,9 @@ select @str, @path, JSON_EXTRACT(@str, @path);
#
select json_array(5,json_query('[1,2]','$'));
#
# MDEV-13633 JSON_ARRAY() - bad output with some UTF8 characters.
#
SELECT JSON_ARRAY('1. ě 2. š 3. č 4. ř 5. ž 6. ý 7. á 8. í 9. é 10. ů 11. ú') AS json_data;
SELECT JSON_OBJECT("user","Jožko Mrkvičká") as json_data;