• Rucha Deodhar's avatar
    MDEV-32007: JSON_VALUE and JSON_EXTRACT doesn't handle dash (-) · 9cc179cc
    Rucha Deodhar authored
    as first character in key
    
    Analysis:
    While parsing the path, if '-' is encountered as a part of the key,
    the state of the parser changes to error. Hence NULL is returned eventually.
    
    Fix:
    If '-' encountered as part of the key, change the state appropriately to
    continue scanning the key.
    9cc179cc
json_lib.c 56.6 KB