diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2023-04-13 16:43:30 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2023-05-16 01:52:16 +0530 |
commit | b7b8a9ee439f8d3c9457a6eb480001cae37307b8 (patch) | |
tree | b3c7ef87c18ea0d445b27a33520a663d72f77095 /client/async_example.c | |
parent | 996b040f9384cf03e814182053b12945d3df5732 (diff) | |
download | mariadb-git-b7b8a9ee439f8d3c9457a6eb480001cae37307b8.tar.gz |
MDEV-23187: Assorted assertion failures in json_find_path with certainbb-10.4-MDEV-23187
collations
Fix by Alexey Botchkov
The 'value_len' is calculated wrong for the multibyte charsets. In the
read_strn() function we get the length of the string with the final ' " '
character. So have to subtract it's length from the value_len. And the
length of '1' isn't correct for the ucs2 charset (must be 2).
Diffstat (limited to 'client/async_example.c')
0 files changed, 0 insertions, 0 deletions