mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-26161 crash in Gis_point::calculate_haversine
return an error on invalid gis data
This commit is contained in:
@ -4977,5 +4977,10 @@ ERROR HY000: Illegal parameter data type geometry for operation 'is_free_lock'
|
||||
SELECT IS_USED_LOCK(POINT(1,1));
|
||||
ERROR HY000: Illegal parameter data type geometry for operation 'is_used_lock'
|
||||
#
|
||||
# MDEV-26161 crash in Gis_point::calculate_haversine
|
||||
#
|
||||
select st_distance_sphere(x'01030000000400000004000000000000', multipoint(point(124,204)), 10);
|
||||
ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
|
||||
#
|
||||
# End of 10.3 tests
|
||||
#
|
||||
|
Reference in New Issue
Block a user