• Rucha Deodhar's avatar
    MDEV-23187: Assorted assertion failures in json_find_path with certain · b7b8a9ee
    Rucha Deodhar authored
    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).
    b7b8a9ee
func_json.result 43.1 KB