• Rucha Deodhar's avatar
    MDEV-28480: Assertion `0' failed in Item_row::illegal_method_call on · 5a9a80a2
    Rucha Deodhar authored
    SELECT FROM JSON_TABLE
    
    Analysis: When fix_fields_if_needed() is called, it doesnt check if operands
    are valid because check_cols() is not called. So it doesn't error out and
    eventually crashes.
    Fix: Use fix_fields_if_needed_for_scalar() instead of
    fix_fields_if_needed(). It filters the scalar and returns the error if
    it occurs.
    5a9a80a2
json_table.result 35.4 KB