• Daniel Black's avatar
    MDEV-30150 ST_GeomFromGeoJSON, 'geometry' before 'type: feature' error · 8f3631d0
    Daniel Black authored
    The geometry type requires Type:"Feature" but the feature need
    not be first in the JSON structure.
    
    Adjust code to return an error if geometry isn't a JSON object,
    but continue parsing searching for Type: "Feature" to trigger
    the geometry parsing.
    
    Thanks Derick Magnusen for the bug report.
    8f3631d0
spatial.cc 86.3 KB