• Rucha Deodhar's avatar
    MDEV-32287: JSON_EXTRACT not returning multiple values for same path · 5ca64e65
    Rucha Deodhar authored
    Analysis:
    When scanning json and getting the exact path at each step, if a path
    is reached, we end up adding the item in the result and immediately get the
    next item which results in current path changing.
    Fix:
    Instead of immediately returning the item, count the occurences of the path
    in argument and append in the result as needed.
    5ca64e65
func_json.result 53.5 KB