mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16869 String functions don't respect character set of JSON_VALUE.
Item_func_json_value::val_str() produced string of wrong charset.
This commit is contained in:
@ -479,7 +479,7 @@ String *Item_func_json_value::val_str(String *str)
|
||||
(const uchar *) js->ptr() + js->length());
|
||||
|
||||
str->length(0);
|
||||
str->set_charset(&my_charset_utf8mb4_bin);
|
||||
str->set_charset(collation.collation);
|
||||
|
||||
path.cur_step= path.p.steps;
|
||||
continue_search:
|
||||
|
Reference in New Issue
Block a user