• Rucha Deodhar's avatar
    MDEV-31411: JSON_ARRAY_INTERSECT/JSON_OBJECT_FILTER_KEYS should fetch · 5c5123df
    Rucha Deodhar authored
    data from a table similar to other JSON functions
    
    Analysis:
    Since we are fetching values for every row ( because we are running SELECT
    for all rows of a table ), correct value can be only obtained at the time of
    calling val_int() because it is called to get value for each row.
    Fix:
    Set up hash for each row instead of doing it during fixing fields.
    5c5123df
item_jsonfunc.cc 129 KB