Details
Description
Spatial Convenience Function:
This function does not exist in any version of MariaDB but does on MySQL 5.7+ and is critical for spatial conversions. ST_Distance_Sphere makes use for calculating the distance of coordinates from points.
For more information reference MySQL's documentation directly at:
https://dev.mysql.com/doc/refman/5.7/en/spatial-convenience-functions.html
Source Code Reference (thanks to Daniel Black for the commit number):
https://github.com/mysql/mysql-server/commit/60e7f702ac3929c0e38afa7e6dd75fcd5a54c6a9
Attachments
Issue Links
- relates to
-
MDEV-17398 Implement Geographic functions available in MySQL 8.0
-
- Stalled
-
-
MDEV-26161 crash in Gis_point::calculate_haversine
-
- Stalled
-
I believe this might be causing a regression of
MDEV-12462I have a CI running some ST_WITHIN() based address lookup, something like
was working fine in 10.4.18, but is not working in 10.4.19, returning empty result (the point is within the polygon).
In 10.4.19 you have to use something like
or drop the index, to get the correct result.
Can someone reopen the old issue or create a new issue and fix it?